Error MSB3073: The command "dotnet tool restore" exited with code 1

Hello,

After recently updating to Monogame 3.8.1.303 I’ve been unable to run my projects. I followed the migration guide and copied the dotnet-tools.json into my project. However I get the following error:

Error MSB3073: The command "dotnet tool restore" exited with code 1

Running dotnet tool restore on the command line gives this error:

Unhandled exception: System.UnauthorisedAccessException: Access to the path 'C:Users\<username>\.dotnet\toolResolverCache\1\dotnet-mgcb' is denied

Any help would be appreciated, I’m at a loss for how to attempt to solve this one.
Thanks

Managed to fix the problem by deleting the file in question and rebuilding :slight_smile: