Plug-in Fails to Load from Network Share

 
 
 

If you try to load a plug-in from a shared network server that wasn't added to the GAC (Global Assembly Cache), it will fail to load.

Solution

You need to give your plug-in a strong name key and move it into the GAC:

  1. In Visual Studio .NET, open the .csproj project file.

  2. Create a strong name key for your plug-in.

  3. Recompile the plug-in.

  4. From a command-prompt, type the following to add the assembly to the GAC:

gacutil /i \servername\<plugin_path>\YourPluginName.dll

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License