I was trying to convert an old my project made for Windows phone 8.1 to a universal application for Windows 10, when I came across this error below.
The question is, how do I fix it? How do I request access to the location of a computer myself? , type sei la ... using IP allocation in the absence of a gps
An exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.ni.dll but was not handled in user code
WinRT information: Your Application does not have permission to access location data. Make sure that ID_CAP_LOCATION is set in the application manifest on your phone if you enabled the location by selecting Settings > Location.
Additional information: Access is denied.
Your Application does not have permission to access location data. Make sure that ID_CAP_LOCATION is set in the application manifest on your phone if you enabled the location by selecting Settings > Location.
If there is a handler for this exception, the program may be continued.
'