Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2015 - Change template for new applicationHost.config

Unlike previous versions, Visual Studio 2015 places build-related files in a .vs folder alongside your solution. By default, that includes a new applicationHost.config for web applications.

As stated here, You can edit the web application .csproj/.vbproj file to include <UseGlobalApplicationHostFile>True</UseGlobalApplicationHostFile>, and then it will continue to use %userprofile%\My Documents\IISExpress\config\ApplicationHost.config

But I don't want to change every web application project file. So is there a "template" for the new applicationHost.config that Visual Studio / IIS Express creates?

like image 538
wags1999 Avatar asked Jul 22 '15 21:07

wags1999


1 Answers

You can edit the template that Visual Studio uses at %ProgramFiles(x86)%\IIS Express\config\templates\PersonalWebServer\applicationhost.config

like image 134
wags1999 Avatar answered Jan 03 '23 17:01

wags1999