Visual Studio 2022在哪里存储Nupkg-Files

发布于 2025-01-25 08:06:07 字数 154 浏览 2 评论 0原文

我使用Visual Studio2022。在那里我已经看到,它将Nuget-packages-Reference存储在CSPROJ-File中作为PackageReference。 现在,我正在寻找Nupkg-Files。它们在2022年Visual Studio中存储在哪里?我没有找到他们。

I use Visual Studio 2022. There I have seen, that it stores the NuGet-Packages-Reference in the csproj-File as PackageReference.
Now I am searching for the nupkg-files. Where are they stored in Visual Studio 2022? I didn't find them.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

故事未完 2025-02-01 08:06:07

有几个位置存储和/或解压缩的Nuget文件。您可以通过以下命令获得它们:

dotnet nuget locals -l all

对我来说,这返回:

C:\projects>dotnet nuget locals -l all
http-cache: C:\Users\PMF\AppData\Local\NuGet\v3-cache
global-packages: C:\Users\PMF\.nuget\packages\
temp: C:\Users\PMF\AppData\Local\Temp\NuGetScratch
plugins-cache: C:\Users\PMF\AppData\Local\NuGet\plugins-cache

There are several locations where the nuget files are stored and/or decompressed. You get them with the following command:

dotnet nuget locals -l all

For me, this returns:

C:\projects>dotnet nuget locals -l all
http-cache: C:\Users\PMF\AppData\Local\NuGet\v3-cache
global-packages: C:\Users\PMF\.nuget\packages\
temp: C:\Users\PMF\AppData\Local\Temp\NuGetScratch
plugins-cache: C:\Users\PMF\AppData\Local\NuGet\plugins-cache
星星的軌跡 2025-02-01 08:06:07

该文档可能对您有用:
nuget.config参考

默认全局包装夹的位置。默认值为
%userProfile%.nuget \ packages(Windows)或〜/.nuget/packages
(MAC/Linux)。

This document might be useful to you:
nuget.config reference

The location of the default global packages folder. The default is
%userprofile%.nuget\packages (Windows) or ~/.nuget/packages
(Mac/Linux).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文