Visual Studio '17不在参考管理器中显示程序集 [英] Visual Studio '17 not showing assemblies in reference manager
问题描述
我遇到的问题是我似乎无法弄清楚如何为某些解决方案添加引用.
I've the issue that I can't seem to figure out how to add references to certain solutions.
在大多数从Visual Studio '17开始的解决方案中,我在解决方案资源管理器中看到参考",但例如对于一个asp.net核心Web API,我改为获取"Dependencies".每当解决方案显示参考"时,我都可以在参考管理器"中查看程序集"选项卡,但是对于具有缺陷"的解决方案,我看不到它(如下例所示).
In most of the solutions I start in Visual Studio '17 I see "References" in my solution explorer, but e.g. for a asp.net core web api I get "Dependencies" instead. Whenever the solution shows the "References" I can view the "assemblies" tab in the "Reference Manager", but for solutions that have the "Depedencies" I can't see it (as shown in example below).
推荐答案
.Net核心仅适用于NuGet软件包.
.Net core only works with NuGet packages.
,如果您有不属于当前solution
的其他库.您需要pack
它是一台NuGet服务器(您也可以有一个本地NuGet服务器)
if you have other libraries which are not part of your current solution
. you need to pack
it a NuGet server (You can have a local NuGet server as well)
有关更多信息,请参见以下帖子:
see the following post for more information:
这篇关于Visual Studio '17不在参考管理器中显示程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!