I have a web project in Visual Studio 2012 and I am able to create a web deployment package. However I am having difficulties using msdeploy with this package to create a new web site on my server.
My server looks like this:
- dev-srv01
- Application Pools
- Default Web Site
- Sites
- Default Web Site
- iisstart.htm
- Default Web Site
- Application Pools
I would like to create a deployment package that would create a site on the server like this:
- dev-srv01
- Application Pools
- Default Web Site
- My New Web Site
- Sites
- Default Web Site
- iisstart.htm
- My New Web Site
- default.htm
- Default Web Site
- Application Pools
I have read that I could possible use msdeploy with the types appHostConfig and iisApp but I have been unable to piece all this together and create a successfully working script. Is what I am attempting to do even possible?