PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Assembly missing in GAC after Publish?
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Assembly missing in GAC after Publish?
![]() |
Assembly missing in GAC after Publish? |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi,
We're using ClickOnce alreaddy more than a year for a given applicaiton, doing more than 50 publishes without any problem. Yesterday we made a minor change to one of our components (let's say with the name MyAssembly), and incremented it's version (AssemblyVersion: from 0.1.7.0 to 0.1.7.1). We did the Publish with ClickOnce, but when the users know want to run the application they get this error: "Unable to install or run the application. The application requires that assembly MyAssembly Version 0.1.7.0 be installed in the Global Assembly Cache (GAC) first." This is so weird, especially when knowing we had alreaddy inremented this version number without any problems in the past. Anybody has any idea? Your help will be really appreciated! Thanks a lot in advance, Pieter |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Aaargh never mind, I've found it:
What was actually happening was soem type of dll hell :-) Another component in the project was referencing the same assembly, but did it with a compiled version, not the source of the project. so when doing the publish there was some conflict between the old one and the new one... This conflict should be more visible in the output window when doing a build :-) "Pieter" <pieterNOSPAMcoucke@hotmail.com> wrote in message news:%23%233wfcF0IHA.3968@TK2MSFTNGP04.phx.gbl... > Hi, > > We're using ClickOnce alreaddy more than a year for a given applicaiton, > doing more than 50 publishes without any problem. > > Yesterday we made a minor change to one of our components (let's say with > the name MyAssembly), and incremented it's version (AssemblyVersion: from > 0.1.7.0 to 0.1.7.1). We did the Publish with ClickOnce, but when the users > know want to run the application they get this error: > "Unable to install or run the application. The application requires that > assembly MyAssembly Version 0.1.7.0 > be installed in the Global Assembly Cache (GAC) first." > > > This is so weird, especially when knowing we had alreaddy inremented this > version number without any problems in the past. > > Anybody has any idea? Your help will be really appreciated! > > > Thanks a lot in advance, > > > Pieter > > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
On Jun 17, 12:15*pm, "Pieter" <pieterNOSPAMcou...@hotmail.com> wrote:
> Aaargh never mind, I've found it: > What was actually happening was soem type of dll hell :-) > Another component in the project was referencing the same assembly, but did > it with a compiled version, not the source of the project. so when doing the > publish there was some conflict between the old one and the new one... > > This conflict should be more visible in the output window when doing a build > :-) > > "Pieter" <pieterNOSPAMcou...@hotmail.com> wrote in message > > news:%23%233wfcF0IHA.3968@TK2MSFTNGP04.phx.gbl... > > > > > Hi, > > > We're using ClickOnce alreaddy more than a year for a given applicaiton, > > doing more than 50 publishes without any problem. > > > Yesterday we made a minor change to one of our components (let's say with > > the name MyAssembly), and incremented it's version (AssemblyVersion: from > > 0.1.7.0 to 0.1.7.1). We did the Publish with ClickOnce, but when the users > > know want to run the application they get this error: > > "Unable to install or run the application. The application requires that > > assembly MyAssembly Version 0.1.7.0 > > be installed in the Global Assembly Cache (GAC) first." > > > This is so weird, especially when knowing we had alreaddy inremented this > > version number without any problems in the past. > > > Anybody has any idea? Your help will be really appreciated! > > > Thanks a lot in advance, > > > Pieter- Hide quoted text - > > - Show quoted text - Hi, If you need to play with GAC manually, you can also refer to this article: http://support.microsoft.com/kb/315682 Thanks, Onur Güzel |
|
|
|
#4 |
|
Guest
Posts: n/a
|
I would be careful with ClickOnce and large solutions containing many
projects. I found that in order to publish the solution I was deploying via ClickOnce successfully I would have to perform a Clean on the solution, then publish.. If I didn't do this it would end up publishing an out of date DLL and the app just wouldn't work. VS has had these issues with building for quite some time now with large solutions, it's very annoying. "Pieter" <pieterNOSPAMcoucke@hotmail.com> wrote in message news:OrxNBrF0IHA.2084@TK2MSFTNGP06.phx.gbl... > Aaargh never mind, I've found it: > What was actually happening was soem type of dll hell :-) > Another component in the project was referencing the same assembly, but > did it with a compiled version, not the source of the project. so when > doing the publish there was some conflict between the old one and the new > one... > > This conflict should be more visible in the output window when doing a > build :-) > > "Pieter" <pieterNOSPAMcoucke@hotmail.com> wrote in message > news:%23%233wfcF0IHA.3968@TK2MSFTNGP04.phx.gbl... >> Hi, >> >> We're using ClickOnce alreaddy more than a year for a given applicaiton, >> doing more than 50 publishes without any problem. >> >> Yesterday we made a minor change to one of our components (let's say with >> the name MyAssembly), and incremented it's version (AssemblyVersion: from >> 0.1.7.0 to 0.1.7.1). We did the Publish with ClickOnce, but when the >> users >> know want to run the application they get this error: >> "Unable to install or run the application. The application requires that >> assembly MyAssembly Version 0.1.7.0 >> be installed in the Global Assembly Cache (GAC) first." >> >> >> This is so weird, especially when knowing we had alreaddy inremented this >> version number without any problems in the past. >> >> Anybody has any idea? Your help will be really appreciated! >> >> >> Thanks a lot in advance, >> >> >> Pieter >> >> > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

