简体   繁体   English

.NET 核心依赖项的 Nuget 包还原路径

[英]Nuget package restore path for .NET core dependencies

I've created a .NET core console application on Visual Studio(VS) 2015 Community edition Update 3. I've installed .NET core 1.0.1 Preview 2 Visual Studio 2015 tools.我在 Visual Studio(VS) 2015 Community edition Update 3 上创建了一个 .NET core 控制台应用程序。我已经安装了 .NET core 1.0.1 Preview 2 Visual Studio 2015 工具。

I know for one thing that while running the .NET Core application for the first time, Visual Studio restores all the .NET Core nuget packages and dependencies in some location on local computer.我知道,第一次运行 .NET Core 应用程序时,Visual Studio 会在本地计算机的某个位置恢复所有 .NET Core nuget 包和依赖项。 It is certainly not the root directory of my project as I can observe it myself.它肯定不是我项目的根目录,因为我可以自己观察它。

Can anyone help me with the exact path where I can see all the .NET core nuget packages getting downloaded?任何人都可以帮助我找到可以看到所有 .NET 核心 nuget 包下载的确切路径吗?

您将在C:\\Program Files\\dotnet\\shared找到所有常见的 .NET Core 包。

使用此 cmd 查找路径: dotnet nuget locals global-packages -l

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM