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

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 ".NETFramework" under the "Microsoft" key.
Should I just create it?

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

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

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

"PJSimon" <PJ*****@discussions.microsoft.com> wrote in message
news:65**********************************@microsof t.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 ".NETFramework" 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 "MyAssemblies" 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 "MyAssemblies" 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.Classname1.dll
Name.Space2.Classname2.dll

(Registry)
[HKLM\SOFTWARE\Microsoft\.NETFramework\AssemblyFold ers\SharedStuff]@="C:\\ReusableASMs"

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
by: Maksim Chepel | last post by:
Just what the subject says. Thanks a lot!
1
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...
3
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...
3
by: Brad Quinn | last post by:
Is there a way to add an assembly to the .NET tab of the "Add Reference" dialog?
2
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...
1
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."...
3
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...
3
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
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)...
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...
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
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...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
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.