Unable to debug in Mac in Code

Chinmay Dole 225 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

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,005 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 72,356 Reputation points
    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

    0 comments No comments

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.