Modify the VS Solution and project name to open the project with the corresponding VS version

Source: Internet
Author: User

For conversion issues between low and high version vs VS2008:

Modify the different points of the following 2 versions to change to the corresponding version file (red character modification, gray delete)

--------------------------------------------------------------------------------------------------

Low version VS2008:

Modify [Solution file. sln] to open with Notepad and find the following information:
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008


Modify the project name. Csproj:

<?xml version= "1.0" encoding= "Utf-8"?>
<project toolsversion= "3.5" defaulttargets= "Build" xmlns= "http://schemas.microsoft.com/developer/msbuild/2003" >
<PropertyGroup>
<configuration condition= "' $ (Configuration) ' = = '" >Debug</Configuration>
<platform condition= "' $ (Platform) ' = = '" >AnyCPU</Platform>
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{B1B8919C-53FA-4791-8123-2734B1F723D1}</ProjectGuid>

<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>

--------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------

High version VS2013:

Modify [Solution file. sln] to open with Notepad and find the following information:

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
Visualstudioversion = 12.0.31101.0
Minimumvisualstudioversion = 10.0.40219.1

Modify the project name. Csproj:

<?xml version= "1.0" encoding= "Utf-8"?
<project toolsversion= "12.0" defaulttargets= "Build" xmlns= " http://schemas.microsoft.com/developer/msbuild/2003 "
  <import project=" $ (msbuildextensionspath) \ $ (msbuildtoolsversion) \microsoft.common.props "condition=" Exists (' $ (msbuildextensionspath) \$ ( msbuildtoolsversion) \microsoft.common.props '/>
  <propertygroup>
    < Configuration Condition= "' $ (configuration) ' = = '" >DEBUG</CONFIGURATION>
    < Platform condition= "' $ (Platform) ' = = '" >ANYCPU</PLATFORM>
    <projectguid>{ 6022cdce-c809-4d35-a355-72edde889f9f}</projectguid>
    <AppDesignerFolder> Properties</appdesignerfolder>
    <targetframeworkversion>v4.0</ Targetframeworkversion>
    <filealignment>512</filealignment>

----------------------------------------------------------------------------------------------------

If you modify the. NET Framework version, be aware that the corresponding modified target version number of the referenced DLL <RequiredTargetFramework>3.5</RequiredTargetFramework>

or after you open the solution, check that the references under the project are normal, do not remove them, and then reference them again.

Vs2008 turned into vs2013. No problem (solution, project name can open compile run normally)

Modify the VS Solution and project name to open the project with the corresponding VS version

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.