Solved

Installing to GAC using .NET Installer

Posted on 2007-03-20
3
228 Views
Last Modified: 2013-11-26
I am using .NET 2.0 and VS 2005.

I need to put the output of the project into the GAC. Everything I read says that the Windows Installer is the correct way to put the file into the GAC. However nothing says how to do it. Is it obvious and I am just missing a step somewhere?

I have a strong name, it is in the assemblyinfo file.

Thank you in advance
0
Comment
Question by:syscomdev
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
ullfindsmit earned 500 total points
ID: 18756464
when you create your setup project
in there on the folder explorer
right click on the root and navigate to an option Special Folders and you should see "Global Assembly Cache"
add that to the view and you can then select the destination folder for your output to be in that folder (which would be GAC)

so when you install or uninstall it will add/remove it from GAC the right way instead of doign it via a custom action.

Also GACUTIL.EXE is not redistributable
0
 

Author Comment

by:syscomdev
ID: 18756519
Thank you.
0
 
LVL 12

Expert Comment

by:ullfindsmit
ID: 18756538
no probs
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question