VS 2012启动时自动更新IIS路径 [英] VS 2012 Automatically updating IIS path on launch

查看:101
本文介绍了VS 2012启动时自动更新IIS路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的雇主最近将我们从VS 2010升级到了VS2012.这很棒,但是有一点小烦恼,我希望这里的人能为您提供帮助.在VS 2010中,当我切换分支时,它会问我是否要更新IIS路径.类似于"port:blah的路径指向这里.您要更改它吗?" VS 2012不会打扰.它只是改变了它.我似乎找不到阻止这种行为的设置,因此我希望其他人也可以使用.在任何站点上搜索IIS都会带来太多结果,因此无法筛选,尤其是考虑到前三十个左右中只有一个(实际上是该论坛的主题)与IIS和Visual Studio更新路径有关(可惜的是, (与此问题相关).任何帮助将不胜感激.

My employer recently upgraded us from VS 2010 to VS 2012. It's been great, but there is one minor annoyance that I'm hoping someone here can help with. In VS 2010 when I switched branches it would ask me whether I wanted to update the IIS paths. Something along the lines of "the path for port:blah is pointing here. Would you like to change it?" VS 2012 doesn't bother asking. It just changes it. I can't seem to find a setting that discourages this behavior, so I'm hoping someone else out there has. Searching IIS on any site brings up way too many results to sift through, especially considering that only one (a topic from this forum, actually) of the first thirty or so had anything to do with IIS and Visual Studio updating the paths (sadly not related to this issue). Any help would be much appreciated.

我找到了确切的消息.它显示为:当前将Web项目'...'配置为使用URL'...'.Web服务器已将该URL映射到另一个文件夹'...'.您想将此URL重新映射到指向该Web项目的文件夹?"

I found the exact message. It reads: "The Web project '...' is currently configured to use the URL '...'. The Web server has this URL mapped to a different folder '...'. Would you like to remap this URL to point to this Web project's folder?"

推荐答案

我将这个问题带到了MSDN论坛.我在那里收到了答案,所以我只是将这个问题链接到MSDN问题.

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

在visualstudio.uservoice.com上的请求

这篇关于VS 2012启动时自动更新IIS路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆