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

后端 未结 4 1405
长发绾君心
长发绾君心 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:48

    You need to make a registry entry to tell Visual Studio which folders to show assemblies for. This article explains how to do it:

    http://www.platinumbay.com/blogs/dotneticated/archive/2008/09/02/add-reference-and-the-gac.aspx

    We don't use the GAC anymore as it is a cumbersome process that wasn't giving benefit to our team members. We solve the consistent path issues using project references for our own assemblies. Third party assemblies go in a folder within the solution and we reference the assemblies in the projects from there. This way everyone has them in the same path with no worries.

提交回复
热议问题