Unable to debug in Mac in Code

Chinmay Dole 245 Reputation points
2025-03-13T09:00:35.2933333+00:00

I have a Macbook with

  • OS Sequoria.
  • Xcode version 16.2.

When I tried installing MAUI .NET 9.0.200 and tried debugging in VS Code. I got the below error:

System.UnauthorizedAccessException: Access to the path '/Users/''/.dotnet/9.0.201.toolpath.sentinel' is denied.

Please help me

Developer technologies | .NET | .NET MAUI
0 comments No comments
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2025-03-13T21:06:49.71+00:00

    looks like your env variables incorrect or permissions are wrong on "~/.dotnet". check file:

    %ls -l ~/.dotnet/9.0.201.toolpath.sentinel

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.