Migrating WAP RC1 to RTM

Last post 05-03-2006 9:24 PM by BradleyB. 1 replies.

Sort Posts:

  • Migrating WAP RC1 to RTM

    05-03-2006, 3:02 PM
    • Member
      116 point Member
    • HMobius
    • Member since 06-18-2002, 5:12 AM
    • Banbury, UK
    • Posts 40
    Hi,
    I've been working with the RC1 build of Web App Projects for a bit and with RTM around the corner, I thought I'd ask what the migration path for WAPs will be? Will it be a case of uninstalling RC1, installing RTM, opening a project and hey presto, or will it be more involved?

    Cheers, Dan
    --------------------

    Dan Maharry
    Author, Programming ASP.NET 3.5
    www.hmobius.com
  • Re: Migrating WAP RC1 to RTM

    05-03-2006, 9:24 PM
    • Participant
      1,171 point Participant
    • BradleyB
    • Member since 11-06-2002, 10:53 AM
    • Posts 227

    Yep, that's basically it.  Uninstall RC1 and install RTM. You're good to go. 

    Now comes the exception:

    If you're using Team System with Team Build  or building via the command line build with MSBuild you'll want to make one change to your existing WAP projects.  We've added a MSBuild targets file to support these build scenarios.  This targets files will be included in all new Web App Projects and any newly migrated projects.  However you'll need to manually add it to existing Web App Project files.

    To do this<right><click> on the project node and select "Unload Project", then <right><click> again and select "Edit Project".  Add the line hightlighted below right after the existing targets entry. 

      <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
      <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v8.0\WebApplications\Microsoft.WebApplication.targets" />

    Adding the import for Microsoft.WebApplication.targets will ensure that your Web App Project will build correctly when building with Team Build or via the commad line using MSBuild.

    Hope this helps, Brad

Page 1 of 1 (2 items)