Re: Placed DLL in GAC with strong name-Cannot access
Frans Bouma <[email protected]> Mon, 6 Apr 2009 09:04:59 +0200
| Newsgroups | gmane.comp.windows.devel.dotnet.advanced |
|---|---|
| Message-ID | <006501c9b685$ffe20d40$ffa627c0$@nl> |
> I have created a small .net dll, created a strong name key file, attached to > the dll, built it and placed in GAC using gacutil and I can see the my dll > in the folder c:\windows\assembly along with other dotnet dlls. > > My problem is that I cannot add the reference to my console application.Even > when I try to add it is not showing in the references list. > > Please advice/suggest how to get this rectified. VS.NET doesn't look in the GAC for the assemblies in the reference list, it looks in the registry for paths. Please add a path to the registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders and for your assembly create a new key below that key like the ones already there. FB ------------------------------------------------------------------------ Lead developer of LLBLGen Pro, the productive O/R mapper for .NET LLBLGen Pro website: http://www.llblgen.com My .NET blog: http://weblogs.asp.net/fbouma Microsoft MVP (C#) ------------------------------------------------------------------------ =================================== View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives