Can I use appcmde.exe to edit applicationhost.config at different location? For example: Visual Studio 2015 creates applicationhost.config at .vs\config directory. I could manually edit this file but i would like to prefer to use appcmd.exe.
You can use the option apphostconfig
to specify a different applicationhost.config
file.
For example:
appcmd list site "mysite" /config /apphostconfig:"%userprofile%\projects\myproject\.vs\config\applicationhost.config"