我刚刚使用以下方法清除了所有 nuget 缓存:
dotnet nuget locals all --clear
Run Code Online (Sandbox Code Playgroud)
但是现在当我尝试恢复/构建时出现以下错误
C:\dev\noddy\src\noddy.Api>dotnet build
C:\Program Files\dotnet\sdk\2.0.0\NuGet.targets(102,5): error : Access to the path 'InterfaceStubGenerator.BuildTasks.dll' is denied. [C:\dev\noddy\src\noddy.Api\noddy.Api.csproj]
Run Code Online (Sandbox Code Playgroud)
有人知道怎么修这个东西吗?