|
-
Jan 24th, 2006, 04:55 AM
#1
Thread Starter
New Member
Problems with the Global Assembly Cache (GAC)
I have a problem installing to the Global Assembly Cache (GAC).
I have created a .NET dll
I can then install this dll into the GAC using any of the following methods:
-Copying into <Windows>\Framework directory using windows explorer
-Using Gacutil.exe /i Mydll.dll
-Using the GAC plugin for MMC
However after doing any of these. If I run Visual Studio, right click on the toolbox and select 'Choose Items...' My assembly doesn't appear in this list.
If I then browse to a copy of it - I can add it, but can someone tell me why it doesn't appear in the list in the first place?
Thanks
-
Jan 30th, 2006, 10:17 AM
#2
Member
Re: Problems with the Global Assembly Cache (GAC)
When adding a reference, the dialog shows a list of available assemblies. The gac is not actually scanned when producing this list.
Open Regedit, and go to HKEY_LOCAL_MACHINE\Software\Microsoft\.NET Framework\version\AssemblyFoldersEx
You'll see a list of keys, and each key has a value that is a folder location. These are the folders that are scanned when the list of assemblies is created for the dialog. If you add the folder containing your assembly to this list, it will appear in the browse list.
Hope this helps
Chris Seary
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|