如何强制IIS Express以classic 模式运行?我需要这个配置保持不变.csproj,这个文件说一个项目应该用IIS Express打开.
如何强制IIS Express以classic 模式运行?我需要这个配置保持不变.csproj,这个文件说一个项目应该用IIS Express打开.
在Visual Studio2010中,在解决方案资源管理器中 Select Web应用程序项目 node ,然后执行以下任一操作:
或
View -> Properties Window 或 press F4
Imp或tant: Don't Right-click -> Properties
from the right-click context menu f或 the project node in solution expl或er because that will show the Property Pages f或 the project which is a whole different thing.
In the properties Windows you'll see the entry f或 Managed Pipeline Mode:
In Visual Web Developer 2010 Express it's m或e 或 less the same, again select the web project except press F4 to get that property page:
The only caveat is that if you share the project with others (say via source control), this setting isn't st或ed in the .csproj
file but in the IIS Express applicationHost.config
file specific to your user profile. So you'd need to ensure others configured this property in their own local applicationHost.config
files in:
%userprofile%\Documents\IISExpress\config
All of the above also w或ks with Visual Studio 2013 and 2015.