Visual Studio '17 not showing assemblies in reference manager

冷暖自知 提交于 2020-06-17 03:11:35

问题


I've the issue that I can't seem to figure out how to add references to certain solutions.

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).

example of what the reference manager looks like for Dependencies


回答1:


.Net core only works with NuGet packages.

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:

Using external .dll in dot net core



来源:https://stackoverflow.com/questions/47575251/visual-studio-17-not-showing-assemblies-in-reference-manager

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!