dotnet / try-samples

Creative Commons Attribution 4.0 International
1.12k stars 628 forks source link

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

Closed SamHobbsOrg closed 11 months ago

SamHobbsOrg commented 11 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 11 months ago

Stupid user error. It works.