PC Review


Reply
Thread Tools Rate Thread

Assembly missing in GAC after Publish?

 
 
Pieter
Guest
Posts: n/a
 
      17th Jun 2008
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


 
Reply With Quote
 
 
 
 
Pieter
Guest
Posts: n/a
 
      17th Jun 2008
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" <(E-Mail Removed)> wrote in message
news:%23%(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
kimiraikkonen
Guest
Posts: n/a
 
      17th Jun 2008
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%(E-Mail Removed)...
>
>
>
> > 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
 
Reply With Quote
 
Nick
Guest
Posts: n/a
 
      17th Jun 2008
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:%23%(E-Mail Removed)...
>> 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
>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Assembly missing in GAC after Publish? Pieter Microsoft VB .NET 5 17th Jun 2008 06:12 PM
Assembly missing in GAC after Publish? Pieter Microsoft Dot NET Framework 3 17th Jun 2008 02:24 PM
Assembly missing in GAC after Publish? Pieter Microsoft Dot NET Framework Forms 3 17th Jun 2008 02:24 PM
Assembly missing in GAC after Publish? Pieter Microsoft Dot NET 3 17th Jun 2008 02:24 PM
Assembly missing in GAC after Publish? Pieter Microsoft Dot NET 0 17th Jun 2008 09:48 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:14 PM.