Global Assembly Cache

B

bonokoot

Hello All,

I've received a fix for my application in the form of a dll, and this
dll needs to go to multiple locations in the OS including the GAC.
Instead of having the users copy dlls to these locations on their own I
want to create a setup project using Visual Studio 2005 to create an
msi to install the dlls into the proper locations. Unfortunately the
dll i was sent is the same version in the GAC (i know bad practice) so
the new dll will not get copied into the GAC. Anyone know a way to get
an msi to copy a file into the GAC with the same version number?
Changing the version number is not an option.

Thanks
 
B

Bela Istok

Why changing the version is not an option?

You can change the build number, and any application will be fine with that
(you don't need to recompile each application).

Regards,

Bela Istok
 
M

Michael Nemtsev

Hello bonokoot,

use gacutil to uninstall existed and then install new one

b> Hello All,
b>
b> I've received a fix for my application in the form of a dll, and this
b> dll needs to go to multiple locations in the OS including the GAC.
b> Instead of having the users copy dlls to these locations on their own
b> I want to create a setup project using Visual Studio 2005 to create
b> an msi to install the dlls into the proper locations. Unfortunately
b> the dll i was sent is the same version in the GAC (i know bad
b> practice) so the new dll will not get copied into the GAC. Anyone
b> know a way to get an msi to copy a file into the GAC with the same
b> version number? Changing the version number is not an option.
b>
b> Thanks
b>
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top