打开项目会更改iis设置 [英] Opening projects changes iis settings

查看:82
本文介绍了打开项目会更改iis设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这个问题,在开发时我使用git并经常克隆到新文件夹来修复较小的bug。问题是,只要我打开我的项目,Visual Studio就会将IIS设置更改为指向新文件夹。有没有办法防止这种情况发生?比如在打开项目时按住ctrl还是什么?

I have this problem, when developing I use git and often clone to a new folder to fix smaller bugs. The problem is that as soon as I open my project Visual Studio changes the IIS settings to point to the new folder. Is there some way of preventing this from happening? Like hold down ctrl when opening the project or something?

推荐答案

如果打开项目设置,然后转到Web选项卡,将Servers部分更改为外部主机应修复此问题。

If you open your project settings, and then go to the Web tab, changing the Servers section to External Host should fix this.

这篇关于打开项目会更改iis设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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