VS 2012 Automatically updating IIS path on launch

落花浮王杯 提交于 2019-12-04 04:03:40
Kerfuffle

I took this question to the MSDN forums. I received an answer there so I am just linking this question to the MSDN question.

MSDN forum question

Request on visualstudio.uservoice.com

Just my work around for this problem:

  • In IIS Manager, I created Sites for each branch, then I configured them using different Ports.

  • Open each of the web projects in VS2012, then set the properties as:

    • Start Action = Don't open a page. Wait for request from external application.

    • Servers = Local IIS

    • Project URL: http://localhost:[PORT for this site on IIS]

This way, VS2012 will not modify the web port & path. I can still debug with different branches.

Is that helping you ?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!