Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 15, 2012 01:09 PM by gxclarke
Jun 13, 2012 10:27 PM|LINK
I have created a Web Deployment Project in VS 2010 and after creating the deployment package the "IIS Web Application Name" parameter in SetParameters.xml is "Default Web Site/MyProjectWDP". I am unable to find a way to change this value.
If I instead build the deployment package from the Web Application Project itself, the project properties allows this parameter to be preset. However, I need to work with a separate Web Deployment Project so that I can get the asp.net views (.aspx, .ascx,
and .master files) pre=compiled before deployment. In this scenario I can't find any way to set this parameter.
Thanks for your help,
Jun 15, 2012 02:50 AM|LINK
This link should helpful:
How to: Use Parameters to Configure Deployment Settings When a Package is Installed
Jun 15, 2012 01:09 PM|LINK
I had already reviewed that article, but it does not address my issue. I did the following:
1. In my Web Application Project, added parameters.xml:
<parameter name="IIS Web Application Name"
defaultValue="My Deployed Website"
2. In my associated Web Deployment Project, executed Build Deployment Package.
3. Examine the SetParameters.xml file after the deployment build is complete:
<setParameter name="IIS Web Application Name" value="Default Web Site/MyWebsiteWDP" />