PC Review


Reply
Thread Tools Rate Thread

Why does VS package up files from GAC?

 
 
Chris
Guest
Posts: n/a
 
      27th Jul 2005
Hi,

Is it normal for dependencies found by a setup project to be included in the
MSI even if they are references to DLL's in the GAC? I have several
references in a project that are to GAC resources but they are being
packaged up into my MSI. I thought if Copy Local was set to false, the
files would not be included. Is something not right or do I not understand
what is meant to happen here?

Thanks for any help.

-Chris


 
Reply With Quote
 
 
 
 
Chris
Guest
Posts: n/a
 
      27th Jul 2005
Guess I'll just talk to myself here. ;-)

I excluded the assemblies from the setup project dependency list so it would
create the package without them and it seems to work OK. I don't understand
why I needed to do this but it's not really a major thing. I just worry
that I had to do it because I did something wrong with my setup project.

On another note, I originally had my references pointing directly at the
DLL's but then strong named them and installed them to the GAC. When I went
through and recreated the references, they would show up correctly until I
did a build then the properties for the reference would revert back to the
original values. I ended up renaming the directory holding the original
libraries and finally got it to work after a little more tweaking. I
couldn't figure out where the old property values were being retrieved from
though. I looked at the .proj file and it had the correct values. Does
anyone know where else I shoudl have looked?

Thanks,
Chris



"Chris" <(E-Mail Removed)> wrote in message
news:jPGdnQUFT5sCUnvfRVn-(E-Mail Removed)...
> Hi,
>
> Is it normal for dependencies found by a setup project to be included in
> the MSI even if they are references to DLL's in the GAC? I have several
> references in a project that are to GAC resources but they are being
> packaged up into my MSI. I thought if Copy Local was set to false, the
> files would not be included. Is something not right or do I not
> understand what is meant to happen here?
>
> Thanks for any help.
>
> -Chris
>



 
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
findcontrol("PlaceHolderPrice") why why why why why why why why why why why Mr. SweatyFinger Microsoft ASP .NET 2 2nd Dec 2006 04:46 PM
ERROR: this installation package could not be opened. contact the application vendor to varify that this is a valid windows installer package Shailesh Patel Microsoft Windows 2000 0 29th Dec 2005 05:59 PM
application setup package with .net redist package within =?ISO-8859-1?Q?S=E9rgio_Almeida?= Microsoft Dot NET Framework Forms 1 29th Jun 2004 07:12 PM
application setup package with .net redist package within =?ISO-8859-1?Q?S=E9rgio_Almeida?= Microsoft C# .NET 0 29th Jun 2004 03:22 PM
Change path of install package without removing package BoomStick Microsoft Windows 2000 Group Policy 2 5th May 2004 03:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:05 AM.