How to Add Silverlight Assembly to Add Reference Visual Studio Dialog

This is necessary in order to be able to refer to an assembly of several projects and not to transfer the assembly each time with the project.

After installing Silverlight, in dialogue “Add reference” Visual Studio, we can see a set of standard assemblies that are part of Silverlight.

As it turned out, in order to enable the assembly to refer to any of the projects through dialogue “Add reference”, you need to add a special key in the registry:
1. Open key

32-bit OS: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Silverlight\v4.0\AssemblyFoldersEx

64-bit OS: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Silverlight\v4.0\AssemblyFoldersEx

2. In this location create a key with any name (for example, the name of the project).

3. Adding a default value that contains the path to the assemblies on hard disk.

Now when you add a reference to the project in the dialog “Add reference” will be available to all assemblies in a specified folder:

The solution is very simple and very useful.

Looking for quality Silverlight Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , | Posted under 3rd Party Software, Programming/Coding | RSS 2.0

Leave a Reply

Your email address will not be published. Required fields are marked *


3 × 2 =

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>