zoukankan      html  css  js  c++  java
  • 转:VS2010解决方案转换到VS2008

    原文链接地址:http://www.codeproject.com/Tips/80953/Converting-VS2010-Solution-to-VS2008

    如果你使用VS2010的任何版本写代码,那么在VS2008中就不能打开VS2010的解决方案了,为此,通过以下三步就可以解决了
    一.对于工程名.sln;
    1.用你喜欢的编辑器打开sln文件,比如notepad++

    2.找到下面的字符串
    Microsoft Visual Studio Solution File, Format Version 11.00.
    # Visual Studio 2010.
    并且用下面的字串替换
    Microsoft Visual Studio Solution File, Format Version 10.00. (I)
    # Visual Studio 2008. (II, 可选)
    二.对于工程名.csproj/vbproj
    1.用你喜欢的编辑器打开这个工程文件

    2.找到下面的字符串
    <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">.
    然后用下面的字符串来替换
    <Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">. (III)

    就这样了
    现在你就可以在VS2008中打开了,反正也可以通过反着改一下就可以让VS2008的项目在VS2010中打开了

    三.做完这些改变后,可能会出现这样的错误

    -------------------------------------------------------------------
    Microsoft Visual Studio
    ---------------------------
    Unable to read the project file 'XXX.csproj'.

    C:Project pathXXX.csproj(89,11): The imported project "C:Program FilesMSBuildMicrosoftVisualStudiov10.0WebApplicationsMicrosoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
    ---------------------------
    OK Cancel
    ------------------------------------------------------------------
    为了修正这个错误,只要的工程名.csproj/vbproj文件中找到上面的字符串,把v10.0改成v9.0.就好了

    转自:http://www.cnblogs.com/Warmsunshine/archive/2012/02/21/2362107.html

  • 相关阅读:
    Tsar 服务器系统和应用信息的采集报告工具
    mysqltuner
    MySQL性能监控工具-MONyog
    tuning-primer.sh mysql 报表
    mytop
    InnoTop
    mysql监控管理工具--innotop
    iotop,pt-ioprofile : mysql IO负载高的来源定位
    PERCONA-TOOLKIT 工具的安装与使用2
    PERCONA-TOOLKIT : pt-ioprofile分析IO情况
  • 原文地址:https://www.cnblogs.com/gomen/p/3237472.html
Copyright © 2011-2022 走看看