Getting assemblies to show in the .NET tab of Add Reference

后端 未结 4 1404
长发绾君心
长发绾君心 2020-12-10 07:55

When working with Visual Studio and adding a reference to a project you are presented a window with multiple tabs; .NET, Project, Recent, and Browse. What is needed to get

4条回答
  •  有刺的猬
    2020-12-10 08:35

    This is probably a VFAQ, even though I'm quite new here. The basic concept here is that the list of assemblies is loaded based on a setting in the Registry.

    All you need to do is to add a registry subkey which points to the location of the assembly under the following key:

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\
    

    If MyAssemblyFolder is the name of your folder where your Assembly to be added resides, create a subkey with any name and within it, add a String key with the complete path to your MyAssemblyFolder.

提交回复
热议问题