I am trying to read .txt file in Maui Program from the location which I am getting from Path.GetPathRoot(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal));
I am getting access denied error.
What permissions have to give to the windows application.
Reading system root files requires administrator privileges
Run Visual Studio as administrator.
In solution explorer, add new item, select "Application Manifest File".
change
to