dotnet / try-samples

Creative Commons Attribution 4.0 International
1.09k stars 623 forks source link

UnauthorizedAccessException for C:\Users\user\Application Data #98

Closed SamHobbsOrg closed 9 months ago

SamHobbsOrg commented 9 months ago

I cloned the repository, The following shows my local directory.

TrySamplesDir

When I execute dotnet try in the directory or any subdirectory I get the message (in the Edge browser):

"An unhandled exception occurred.","exception":"System.UnauthorizedAccessException: Access to the path 'C:\\Users\\sam\\Application Data' is denied.\r\n

Perhaps I just do not understand the instructions.

SamHobbsOrg commented 9 months ago

Stupid user error. It works.