I have created a website which compiles successfully when I log-in using administrator but when I log-in using any other user, following error occurs.
I was surprised when I can't find options always run as administrator for file of vs 2017 pro (devenv.exe). It was resolved and set only with troubleshoot compatibility option.
Solution for the latest window versions:
- Find "devenv.exe" file
- Right mouse click and selects "troubleshoot compatibility" option
- Troubleshoot program option
- Checks "The program requires additional permissions"
- Next
- Test the program
- Next
- Yes,save these settings for this program