In TeamCity I have created build step that is running MSBuild with target Package(not my script just MSBuild runner from TC pointing to csproj), then this package is deployed through web deploy to iis.
Problem is that deployment is creating new application under Default Web Site and I would like to deploy it to one already existing.
So I added parameter to build DeployIISAppPath=Default Web Site\ MySite and I have checked that in generated SetParameters file it actually is Default Web Site\ MySite but still this value is ignored and app is deployed to XXX_deploy virtual directory created by deploy.
Any idea why?