Allow an IIS-bound project to be opened in non-admin Visual Studio
Visual Studio needs to be running with elevated administrator privileges to interrogate the IIS metabase and/or attach to the IIS worker process for debugging. However being able to view, edit, compile, and unit test the code in an IIS-bound Web Application Project is no different than any other project and should not require IIS access or therefore Administrator privileges.
In a non-admin VS instance I should only be prevented from debugging an IIS-bound project.
This affects me almost every day as I need to browse projects but cannot open the process as Admin - this should be a bug
I run into this problem frequently. Debugging VS2015 ASP.NET sites hosted in local IIS requires you to be an admin. I don't care for IIS Express because it doesn't continue running when visual studio is closed and configuring it is not as straight forward as configuration for local IIS.
Similarly, when you're forced to run VS as an admin, you lose other functionality; as suggested here: https://visualstudio.uservoice.com/forums/121579-visual-studio-2015/suggestions/2164233-fix-drag-and-drop-to-open-file-when-running-as-adm
Cherry W commented
I have to switch between non-admin to use TFS connect to Office, and admin to work on my IIS project. It's confusing if I'm not looking at the title bar. If it's not possible to allow loading IIS project in non-admin permission, maybe just adding a different launcher (icon) so I know I'm in admin or non-admin mode would help.
3 votes. I like that idea. In addition I can say that it would be much better if Studio always works without admin rights. And before any operation which requires them (publishing on IIS, creating virtual directory etc.) Studio would show UAC dialog or abort that operation without any error. That would be much frendlier.
Jon Davis commented
One word: IISExpress
Have you looked at the following? I wrote it a long time ago but at least with 2003 it allows you to manipulate website projects with non-admin priveledge