Ok, I know I'm missing something, but I can't figure out what...

I'm trying to create a class file to be used by developers internally
that will be installed in the GAC on all internal server, and I want to
distribute it to the developers as a MSI. (Mainly Utility classes that
will be standard usage across the company.)

It's pretty easy to distribute the file, and add it to the GAC, but how
do I add it so that it will show up in the "Add References" dialog in
Visual Studio. Reverse Engineering things shows that I can add a
RegistryKey to HKLM\Software\Microsoft\.NETFramework\AssemblyFolders,
but when I try to do that programmatically in .NET, I'm getting an
unauthorized access exception (even though I'm an administrator) and if
I add it through the installer itself, the "(Default)" key isn't written
to, it's creating a new "(Default)" value which doesn't get read by
VS.NET.

Help!!!

So, my question is this:
1) Is there a place to drop assemblies so that they will automatically
get picked up (without putting them in places like the framework
directory, or the Primary Interop directory (which I guess would be ok)

or 

2) is there an easy way to add a directory/registry entry to that list?

Many thanks, Chris Szurgot

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to