VS2005 2 ways to open a VS2008 project

Source: Internet
Author: User
Tags visual studio

VS2008 support. net3.5, and vs2005 support. net2.0, so use vs2005 to open the VS2008 project, to make sure that your project is. net2.0, here are two ways to VS2005 open VS2008 projects

Method 1: Open the. sln file in Notepad, and you'll see the code as follows: Microsoft Visual studio Solution file, Format Version 10.00 # Visual Studio 2008 You change it to: Mi Crosoft Visual Studio Solution File, Format Version 9.00 # Visual Studio 2005 can be opened with 2005来 method 2:1. Open solution file with Notepad [solution name].sln, and then modify the top two behaviors as follows: The code is as follows: Microsoft Visual Studio Solution file, Format Version 9.00 # Visual Studi O 2005 2. Open each project file with Notepad [project name].csproj, remove the following node under <PropertyGroup> node: Code as follows: <targetframeworkversion>v2.0</ Targetframeworkversion> and modify the ProductVersion and import two nodes as follows: <productversion>8.0.50727</productversion > <import project= "$ (msbuildbinpath) Microsoft.CSharp.targets"/> This should be open.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.