Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / March 2008

Tip: Looking for answers? Try searching our database.

shared assembly in the GAC?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Arniec - 04 Mar 2008 21:23 GMT
I have created a shared assembly(adoio.dll)  I have set the parameter to
local copy = false,  but when I run my installer, I still get a copy of this
dll in my directory.  The intention was to have a single copy in the GAC so
if I wanted to update it, it would be done in a single place.

What am I missing?
Thanks
Signature

Arnie

Michael Nemtsev [MVP] - 04 Mar 2008 22:45 GMT
Hello Arniec,

Did you check your installed settings? It sould accidently copy your dll.
Btw, how do u refer to that DLL?

---
WBR,
Michael  Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour 

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

A> I have created a shared assembly(adoio.dll)  I have set the parameter
A> to local copy = false,  but when I run my installer, I still get a
A> copy of this dll in my directory.  The intention was to have a single
A> copy in the GAC so if I wanted to update it, it would be done in a
A> single place.
A>
A> What am I missing?
A> Thank
Phil Wilson - 05 Mar 2008 17:45 GMT
I don't know what installer you're using, but in all setup projects I've
seen (including Visual Studio setup projects) the copy local in your compile
build has no effect on whether your assembly is installed into the GAC or
not. Are you adding project output/primary output to your application
folder? That will cause what you're seeing. Again, assuming VS setup
project, you need to do an Add Special Folder in your file system view,
choose GAC, add your assembly there, and put the other files in the
application folder, all this instead of using project output. This is all a
guess of course because you haven't decribed what you are doing in your
installer.
Signature

Phil Wilson
[MVP Windows Installer]

>I have created a shared assembly(adoio.dll)  I have set the parameter to
> local copy = false,  but when I run my installer, I still get a copy of
[quoted text clipped - 5 lines]
> What am I missing?
> Thanks
RobinS - 06 Mar 2008 06:51 GMT
If you are doing ClickOnce deployment, make sure the BuildAction is also
"None". And look under ApplicationFiles and make sure it is marked as not to
be included.

RobinS.
GoldMail, Inc.
---------------------------------
>I have created a shared assembly(adoio.dll)  I have set the parameter to
> local copy = false,  but when I run my installer, I still get a copy of
[quoted text clipped - 5 lines]
> What am I missing?
> Thanks

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.