I've just cleared all my nuget caches using:
dotnet nuget locals all --clear
But now when i try to restore/build I get the following error
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]
Anyone know how to fix this?
Close other dotnet.exe processes. May be initialized in other IDEs (VS, VS Code, Rider & e.t.c)