Could not load file or assembly 'Microsoft.CSharp' when logged in with user which is not a member of administrator group

前端 未结 3 949
你的背包
你的背包 2021-01-11 09:59

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.

3条回答
  •  庸人自扰
    2021-01-11 10:35

    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
    

提交回复
热议问题