So, this is the error where permission is required to access this path, so what I tried is this: > System.IO.IOException: Permission denied System.UnauthorizedAccessException: Access to the path '/Users/apple/.aspnet/DataProtection-Keys/42cb81a7-89b6-4a29-86ae-76d3acca3076.tmp' is denied.
KeyRingProviderĪn error occurred while reading the key ring. So, I tried to run dotnet from terminal to find the root cause of the error with this: So, I shifted my code of Mac where I have Visual Studio 2017 for Mac, after restoring dependencies it built properly, but when running, it gives the exception below:
Unable to run solution after build in Visual Studio for Mac and Asp.net Core 2.0 Web API - asp.net I was a bit tired of my slow running pc, which has Visual Studio 2017.