locked
WDP Command Line RRS feed

  • Question

  • User-1214811315 posted

     Previously running wdp in vs2005 but project already upgrade to use vs2008TS. but how do i execute wdp from command line... can somebody show me or give me a link to the examples...

     Please advice

     

    Sunday, December 30, 2007 9:10 PM

Answers

  • User-2017008401 posted

    Hi perem,

    Based on my understanding, the issue is that you cannot open a solution by Visual Studio 2005 for it has been upgraded to VS.NET 2008 type. Since you want to generate the output by Web Development Project, you wonder if there is a command tool to do that. If I have misunderstood your concern, please let me know.

    For the command tool of this issue, please refer to the following link for using “aspnet_merge.exe”.

    Managing ASP.NET Precompiled Output for Deployment Using the aspnet_merge.exe Command
    http://msdn.microsoft.com/en-us/library/aa479044.aspx

    Alternatively, you can use WDP for Visual Studio 2008 which is available now.

    Visual Studio® 2008 Web Deployment Projects - December 2007 CTP
    http://www.microsoft.com/downloads/details.aspx?FamilyID=0FF6B63F-F79D-4590-B619-A2A4E06820F0&displaylang=en

    However, if you still want to use Visual Studio 2005 as your development tool, you can create a new solution/project by Visual Studio 2005, and then add the source files back by “Add Existing Item…”. Build the website and fix all the errors (Visual Studio 2008 may add some namespace in souce file and configurations in web.config). At last, re-create a Web Deployment Project based on the recovered web project.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, January 1, 2008 8:58 PM
  • User-993607577 posted

    Install Visual Studio 2008 Web Deployment Projects then from the command line use msbuild.exe.
     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, January 1, 2008 10:44 PM
  • User796746907 posted

    Hi perem,

    You will need to install the December CTP WDP 2008 for wdp projects to work on VS2008.  Since your project already had a WDP in VS2005, you will need to upgrade that .wdproj file to be usable in VS2008 or create a new WDP in 2008 for your migrated website.  A WDP2005 project will not work in VS2008.  The link below should give you more info.

    http://blogs.msdn.com/webdevtools/archive/2007/12/01/web-deployment-projects-wdp-for-visual-studio-2008-december-2007-ctp-released.aspx

    To build a WDP project from command line, you can use MSBuild.exe and pass it the solution file of your project.

    -Alison

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, January 2, 2008 4:28 PM

All replies

  • User-2017008401 posted

    Hi perem,

    Based on my understanding, the issue is that you cannot open a solution by Visual Studio 2005 for it has been upgraded to VS.NET 2008 type. Since you want to generate the output by Web Development Project, you wonder if there is a command tool to do that. If I have misunderstood your concern, please let me know.

    For the command tool of this issue, please refer to the following link for using “aspnet_merge.exe”.

    Managing ASP.NET Precompiled Output for Deployment Using the aspnet_merge.exe Command
    http://msdn.microsoft.com/en-us/library/aa479044.aspx

    Alternatively, you can use WDP for Visual Studio 2008 which is available now.

    Visual Studio® 2008 Web Deployment Projects - December 2007 CTP
    http://www.microsoft.com/downloads/details.aspx?FamilyID=0FF6B63F-F79D-4590-B619-A2A4E06820F0&displaylang=en

    However, if you still want to use Visual Studio 2005 as your development tool, you can create a new solution/project by Visual Studio 2005, and then add the source files back by “Add Existing Item…”. Build the website and fix all the errors (Visual Studio 2008 may add some namespace in souce file and configurations in web.config). At last, re-create a Web Deployment Project based on the recovered web project.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, January 1, 2008 8:58 PM
  • User-993607577 posted

    Install Visual Studio 2008 Web Deployment Projects then from the command line use msbuild.exe.
     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, January 1, 2008 10:44 PM
  • User796746907 posted

    Hi perem,

    You will need to install the December CTP WDP 2008 for wdp projects to work on VS2008.  Since your project already had a WDP in VS2005, you will need to upgrade that .wdproj file to be usable in VS2008 or create a new WDP in 2008 for your migrated website.  A WDP2005 project will not work in VS2008.  The link below should give you more info.

    http://blogs.msdn.com/webdevtools/archive/2007/12/01/web-deployment-projects-wdp-for-visual-studio-2008-december-2007-ctp-released.aspx

    To build a WDP project from command line, you can use MSBuild.exe and pass it the solution file of your project.

    -Alison

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, January 2, 2008 4:28 PM
  • User-1214811315 posted

    Oop sory... i figure out my self already... i just need to point my compilation tool to use msbuild in 3.5 framework folder. but another problem in come out. but it is regarding com interop.

     btw... how to rebuild interop instead using interop from sourcesafe? i found out that the interop is not update after i register latest com component in the compilation machine.


     

    Sunday, January 6, 2008 11:58 PM