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

前端 未结 3 918
你的背包
你的背包 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:50

    This one solved my problem.

    1. Right click on Visual studio (whichever version you use)
    2. Properties
    3. Select compatibility tab
    4. Fill the checkbox which says "Run this program as administrator"
    5. Open the project from the file location
    6. Run the application

提交回复
热议问题