473,378 Members | 1,346 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,378 software developers and data experts.

install assembly in GAC

i create a project and sign it with strong name then i build it into an
assembly as a dll file.
after these i use "gacutil /i assembly.dll" command in command line to
install the assembly and it told me the installation was successful, and i
did find the assemly.dll in c:\windows\assembly, it seems that everything
goes well.

when i wantted to reference this assmebly in project, i can't find it in the
".NET" tab of the "Add Reference" window. Didn't i install the assembly
correctly?
Apr 12 '07 #1
2 5769
Yes, you did. However, the dialog for adding assemblies is not
dependent on what is in the GAC. Rather, you have to set up some registry
entries to tell Visual Studio where to look. The following KB article
explains what you have to do:

http://msdn2.microsoft.com/en-us/lib...ky(VS.80).aspx

Look at the section titled "To display an assembly in the Add Reference
dialog box". It will tell you what you have to do.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"fairyvoice" <fa********@discussions.microsoft.comwrote in message
news:2F**********************************@microsof t.com...
>i create a project and sign it with strong name then i build it into an
assembly as a dll file.
after these i use "gacutil /i assembly.dll" command in command line to
install the assembly and it told me the installation was successful, and i
did find the assemly.dll in c:\windows\assembly, it seems that everything
goes well.

when i wantted to reference this assmebly in project, i can't find it in
the
".NET" tab of the "Add Reference" window. Didn't i install the assembly
correctly?

Apr 12 '07 #2
thank you Nich
i've read the article and made it work by copying my assmebly into "C:\.NET\
Common7\IDE\PublicAssemblies\",
but his third way by adding registry keys did not wrok so i can only copy my
assmebly to a centain directory but using my own directory.

anyway, now i can see the assembly in the ".NET" tab, although still a few
problems left, thank u a lot
Apr 12 '07 #3

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

Similar topics

2
by: Carlos G Benevides | last post by:
I have a ASP.Net web application that has two assemblies that run under com+. Under Windows 2000 the two assemblies are added to com+ automatically when instantiated from the web site. For this...
13
by: Dave | last post by:
I have a structure declared as: private struct StandardFrame { public byte frame; public UInt32 integrityCheck; public UInt32 sequenceNo; public UInt32 dataLength;
4
by: Bob | last post by:
Could anyone suggest me some examples/articles on creating a setup program in VS.NET that can install the assembly into the GAC? I have done some search and research myself and have some basic...
1
by: Andy Butland | last post by:
I've built a dll component that is compiled from contains a number of generic classes, each in separate .vb files, that I'd like to use in several web applications. Currently I'm simply placing a...
1
by: moondaddy | last post by:
I have a VS 2005 winforms project and am trying to get clickonce deployment working correctly. I published the deployment to a test server on my network. It created the publish.htm and from my...
2
by: Vayse | last post by:
I published my app in Visual Studio 2005. I'm getting a problem installing on one PC. During the install, the following error appears: "Unable to run or install the application. The application...
3
by: Eric | last post by:
Using VS.Net 2003 .Net framework 1.1 SP1 Our installation project calls a Custom Action dll to perform post install actions. It fails if the .msi file is launch from a directory that contains...
2
by: Dean Slindee | last post by:
Getting the following message when doing a ClickOnce install at a deployment PC: "Unable to install or run the application. The application requires that assembly Microsoft.Office.Interop.Access...
3
by: =?Utf-8?B?S2VuIExlbWlldXg=?= | last post by:
My clickonce app fails when the install button on the publish.htm page is clicked. User is prompted with a "Cannot Start Application" dialog. Details provided from the dialog are: PLATFORM...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.