更新时间:2023-02-25 18:00:32
NuGet 中的一个错误可能导致了该问题.这是解决方法:
A bug in NuGet may be causing the problem. This is the workaround:
在解决方案文件夹中创建一个 .nuget
文件夹(如果它不存在).
Create a .nuget
folder in your solution folder, if it doesn't exist.
在 .nuget
文件夹中,创建一个包含以下内容的文件 nuget.config
:
In the .nuget
folder, create a file nuget.config
with this content:
<configuration>
<solution>
<add key="disableSourceControlIntegration" value="true" />
</solution>
</configuration>