473,414 Members | 1,697 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

How to have installer instal asmbly to gac

How can a .NET dll be installed so that it appears under the .NET tab in the
Add Reference dialog? How can this be done in a deployment project?
Nov 16 '05 #1
3 2792
Assuming you are using the setup and deployment project thru VStudio 2003 -
you can add a special folder called "Global Assembly Cache" and place your
assembly in there.

The installer MSI will end up putting that into the GAC for you.

Here's the cool thing - GAC supports side by side versions, but if you
wanted to emulate old dll behavior by enforcing only the latest version to
exist - you can control all that thru "Publisher policy"

- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik


"David T." <Da***********@AdsorptionProcessModeling.com> wrote in message
news:%Z9td.772$ln.396@lakeread06...
How can a .NET dll be installed so that it appears under the .NET tab in
the Add Reference dialog? How can this be done in a deployment project?

Nov 16 '05 #2
Another option is to add a sub-key underneath
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio \7.1\AssemblyFolders with
the Default value pointing to your assembly install folder.

"David T." <Da***********@AdsorptionProcessModeling.com> wrote in message
news:%Z9td.772$ln.396@lakeread06...
How can a .NET dll be installed so that it appears under the .NET tab in the
Add Reference dialog? How can this be done in a deployment project?

Nov 16 '05 #3

"Sahil Malik" <co*****************@nospam.com> wrote in message
news:uQ**************@TK2MSFTNGP14.phx.gbl...
Assuming you are using the setup and deployment project thru VStudio
2003 - you can add a special folder called "Global Assembly Cache" and
place your assembly in there.
This gets the dlls in the GAC but maybe that isn't what I need. I want the
dlls to appear under the .NET tab of the Add Reference dialog box. How can I
make this happen?

By the way thank you for your help with step one.


The installer MSI will end up putting that into the GAC for you.

Here's the cool thing - GAC supports side by side versions, but if you
wanted to emulate old dll behavior by enforcing only the latest version to
exist - you can control all that thru "Publisher policy"

- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik


"David T." <Da***********@AdsorptionProcessModeling.com> wrote in message
news:%Z9td.772$ln.396@lakeread06...
How can a .NET dll be installed so that it appears under the .NET tab in
the Add Reference dialog? How can this be done in a deployment project?


Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Richard Hanson | last post by:
Over the last few days, I reinstalled Win2kSP2 to a spare harddrive I had just swapped into my Fujitsu LifeBook P1120 (long story <wink>). Subsequently, I DL'ed the newest Python alpha (2.4a2), and...
3
by: Fernando Perez | last post by:
Hi all, I am seeking advice/help from those with more win32 experience than myself. I am trying to build a proper win32 installer for IPython, after a user did most of the hard work. For the...
0
by: HPKrekt | last post by:
If I deploy part of my webproject to a W2K Server I get the following error if I try to use a custom installer: unable to get installer types in the .....dll assembly => One or more of the types...
1
by: Newbee Adam | last post by:
any idea why I cannot instal VS NET 2003 on win dows server 2003 the first of 3 installation disks givesd me a message saying I am missing componenets -- Adam S
0
by: PHP2 | last post by:
can someone help me instal CGI C++ library on Linux http://www.vbmcgi.org/
1
by: lyl209 | last post by:
Hi, I am trying to create a web setup project for my asp.net 2.0 website and I had some problems. It worked fine until I want to add some custom actions into it. As some of you already knew,...
1
by: sp | last post by:
Is it possible to instal dot net 2.0 SDK on Win 98 or Win ME? I tried and I received A required resource cannot be found (at the window bar there ara unusual signs). I installed .net 2.0...
1
by: varathasiva | last post by:
Hi Every Body, Can i instal postgres sql database in windows 2000 server.Hw i can instal.Pls help to me. With Regards Siva
3
by: pradeep c | last post by:
can any one tell me how to instal the software component in discount asp.net.. pleas its urgent it will be very helpful for me.
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.