I am running an msbuild command that I point to a Publish Profile.
Here is a snippet of the publish profile:
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<WebPublishMethod>MSDeploy</WebPublishMethod>
<SiteUrlToLaunchAfterPublish />
<MSDeployServiceURL>https://mysexyserver:8172</MSDeployServiceURL>
<DeployIisAppPath>MysexyApp</DeployIisAppPath>
<RemoteSitePhysicalPath />
<SkipExtraFilesOnServer>True</SkipExtraFilesOnServer>
<MSDeployPublishMethod>WMSVC</MSDeployPublishMethod>
<UserName>mydom\myuser</UserName>
<_SavePWD>False</_SavePWD>
.....
I want to use the createApp provider so when I deploy to the server it automatically creates my app pool and iis site.
Where do I specify I want to use the createApp provider? Do I put it under the ProperyGroup node in the publish profile? Do I pass it as an arg to the msbuild command? Haven't found any clear examples of this I can figure out.
Is there an option instead of DeployIisAppPath that will use the createApp web deploy provider to automatically create the site and app pool???