Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Visual Studio 2012 Publish Web Site (Web Deploy Package) with site creation

$
0
0


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

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

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?

 


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>