Opening a web project installed in the IIS directory on a machine without IIS, pointing to the embedded server

I can open a web project in TFS; however, in my QA environment, I have to modify it to use IIS. In my local dev environment, I do not have IIS and I cannot install it.

The new company rules prohibit access to QA for me, and I can not open my web project to fix it on my machine.

When I open the project, I get "The web application project ... is configured to use IIS. To access the local IIS websites you must run Visual Studio in the context of the administrator account." Then I open it as an administrator, but VS asks that the virtual directory be created on my IIS.

+6
source share
1 answer

The NgM link can really help, but if you need a step by step, than go to the property of the .csproj file. Make it writable, open it in a text editor and look for <UseIIS>True</UseIIS> , flip it to <UseIIS>False</UseIIS> . Open the solution, get the latest version and, after receiving a warning, save the local version of your modified .csproj. You can check your modified .csproj too much to stop problems in the next latest version.

bye

+6
source

Source: https://habr.com/ru/post/891827/


All Articles