Hello Folks,
Often when we are working on remote machine where we don't have enough privilege to switch off the UAC. As a result, we always have to make sure to open the visual studio with administrator privilege. If you don't do this we will run into issue of access resulting in not able to deployment, publish, save a solution or edit/modify a file. Recently I was looking to get over it and found a very simple and clean solution to same.
Let me walk you through the same.
1. Go to start menu and right click on the Visual studio icon and click on the Properties Tab
2. This will open up a properties window.
4. Click the ok button and now try to open the visual studio. You will now see that without even opening the Visual studio with Run as Administrator option. You will have a popup which is same which appear when you try to open the Visual studio in Administrator mode.
Happy Coding J