473,761 Members | 9,477 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

GAC assembly in "Add Reference" dialog box

In regards to this MSDN article:
http://support.microsoft.com/default...b;en-us;306149

.... how do I add the registry key? I got confused on three points:

1) I do not have a key named ".NETFramew ork" under the "Microsoft" key.
Should I just create it?

2) I don't know what to add to the "MyAssembli es" folder.

3) What should I change "MyAssembli es" to? The name of the dll?
Can you give me step-by-step instructions?

THANK YOU!!!
Feb 20 '06 #1
1 2087

"PJSimon" <PJ*****@discus sions.microsoft .com> wrote in message
news:65******** *************** ***********@mic rosoft.com...
In regards to this MSDN article:
http://support.microsoft.com/default...b;en-us;306149

... how do I add the registry key? I got confused on three points:

1) I do not have a key named ".NETFramew ork" under the "Microsoft"
key. Should I just create it?
Yes, if only /you/ want to have these assemblies included in the Add
Reference Dialog.
If you want /anyone/ on your machine to "inherit" this setting, create
the key under HKLM, as the article suggests.
2) I don't know what to add to the "MyAssembli es" folder.
The folder should contain all the assemblies that you want to appear
in the Add Reference Dialog. I tend to use a lot of shared assemblies,
so I add them to the Global Assembly Cache after copying them into
this directory.
3) What should I change "MyAssembli es" to? The name of the dll?


AFAIK, The registry key can be called anything you like; it's presence
is enough to stir 'Studio into action:

(File System)
C:\ReusableASMs
Name.Space1.Cla ssname1.dll
Name.Space2.Cla ssname2.dll

(Registry)
[HKLM\SOFTWARE\M icrosoft\.NETFr amework\Assembl yFolders\Shared Stuff]@="C:\\Reusable ASMs"

HTH,
Phill W.
Feb 21 '06 #2

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

Similar topics

2
1735
by: Maksim Chepel | last post by:
Just what the subject says. Thanks a lot!
1
21392
by: Junior | last post by:
I keep receiving this "The type or namespace name 'CASsEventHandler' could not be found (are you missing a using directive or an assembly reference?)" message in two particular lines, and I've tried everything... Could anyone please paste this and tell me what I'm doing wrong ? I use SerialPort.zip, which can be downloaded at http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=b06e30f9-1301-4cc6-ac14-dfe325097c69 ...
3
1409
by: Gary McGill | last post by:
I have a C# solution with a dozen or so projects. There are references between the projects, and these were all added as "Project" references. Everything's been working fine for months, but suddenly today it all collapsed in a heap. I get a mysterious error when running the project: "The located assembly's manifest definition with name '<MyClass>' does not match the assembly reference" Using the fuslogvw tool I can see that the...
3
1614
by: Brad Quinn | last post by:
Is there a way to add an assembly to the .NET tab of the "Add Reference" dialog?
2
1458
by: Walid Koleilat | last post by:
I have created an assembly and assigned a strong name to it. However I want to reference it from another application and i want its name to appear in the add reference dialog box, I think I should add a some kind of a registry value but i don't know where and what value. a second question, I heard about Asp.net 2.0 and visual studio 2005 does it mean that they will also change the MCSD soon? and If you are MCSD what are you going to do...
1
2177
by: SrDhUS | last post by:
I get the following error when I try to add a web reference using Web Reference Dialog (VS .Net 2003) Error "The proxy settings on this computer are not configured correctly for web discovery." MSDN says: "The proxy settings on this computer are not configured correctly for Web discovery.
3
4412
by: Richard Lewis Haggard | last post by:
We are having a lot of trouble with problems relating to failures relating to 'The located assembly's manifest definition with name 'xxx' does not match the assembly reference" but none of us here really understand how this could be an issue. The assemblies that the system is complaining about are ones that we build here and we're not changing version numbers on anything. The errors come and go with no apparent rhyme or reason. We do not...
3
5773
by: Maxwell2006 | last post by:
Hi, I am using Visual Studio 2005. I have added a DLL into GAC. I can confirm that by going to C:\WINDOWS\assembly and see the assembly name.
1
1901
by: Vipul Pathak | last post by:
Hi Every one, I am working on deployment of a library. When the library installs on a user's machine, I want that the installed assemblies should get listed in the "Add Reference" (AddRef) dialog box of the user's Visual Studio .NET. I tried to make some entries into registry so that the assemblies can be shown in the "AddRef" dialog. I succeeded in showing them for VS 2005 and VS 2003 for .NET project types.
0
9376
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10136
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9923
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9811
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6640
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5266
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3509
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2788
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.