none
Create Build package using .wdproj in VS2013

    Question

  • Our Project was in VS2008 and DotNet Framework3.5. We are using scripts to create a build package.To create a package we have imported "Microsoft\WebDeployment\v9.0\Microsoft.WebDeployment.targets" file in .wdProj and deployment package created successfully with out any issues.

    Now we are migrating our code to VS2013 and Dot net framework to 4.5.2.Here we could not find 'Microsoft.WebDeployment.targets' file for VS2013 and Build scripts are failing with errors.Due to this we could not use our .wdProj to create our build package.

    How can we create a build package in VS2013 with .wdProj?
    If this is not supported in VS2013, what are the steps to be taken to create our build package through scripts?


    prince rajan

    Tuesday, March 22, 2016 1:30 PM

Answers

  • Hi rajan ,

    Thank you for posting in MSDN forum.

    For your question, as far as I know: Visual Studio 2013 support web deploy project function . This was removed in VS2012; the guidance instead is to use a 3rd party option like WiX or InstallShield.
    Please refer to:
    http://stackoverflow.com/questions/11229582/will-web-deployment-projects-still-be-available-in-visual-studio-2012
    Beisides, In a nutshell, you will have all the same features that WDP has, but a lot more as well. Also another good thing about this is that we will have one experience for both Web App Project as well as Website Project. So when we make enhancements both project systems get it.

    Please refer to:

    http://blogs.msdn.com/b/webdev/archive/2012/08/06/plans-regarding-website-projects-and-web-deployment-projects.aspx.

    Another option, if you don't need to use an MSI based installer, is to use  Web Deploy. A web project in VS can create a  deployment package, which can then be published to any number of websites at any time. It can also be customized by configuring parameters and setting their values at deploy time (link).Web Deploy packages can support deploying your web content, IIS settings, and database.

    In addition, if have further question about  web development project. I suggest you’d better post it to the ASP.NET forum for better support.

    Disclaimer: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet

    Best Regards,

    Wednesday, March 23, 2016 8:31 AM
    Moderator