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?
You can edit the template that Visual Studio uses at %ProgramFiles(x86)%\IIS Express\config\templates\PersonalWebServer\applicationhost.config
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With