资源描述:
《关于vs2005、vs2008和vs2010项目互转的总结》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、关于vs2005、vs2008和vs2010项目互转的总结(转) 2011-01-0609:18:41
2、 分类: 记性不好,记住网
3、字号 订阅关于vs2005和vs2008、vs2008和vs2010、vs2005和vs2010项目互转的问题,那么关于这个问题有两层含义:一种是通过高版本的编译器打开低版本的项目,进行升级;一种是通过修改Soultion文件和Project文件,可以打开编译。第一种方法,相信大家都可以做到。我主张用第二种方法,这种方法灵活多变,既可以从低版本升级到高版本,又可以从高版本转换到低版本。那么下面我给大家讲一下,通过vs2005的项目升级到vs
4、2008项目的步骤,下面是vs2005的一项目:<一> VisualStudio2005项目-〉VisualStudio2008项目,VisualStudio2008项目->VisualStudio2005项目(1)需要修改ListViewColor解决方案文件,将红框处版本9.00改为10.00;将VisualStudio2005改为VisualStudio2008,如下图:otherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdez
5、hen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrec
6、orderoftheCountypartyCommitteeSecretary,Ministersand (2)打开ListViewColor文件夹,用记事本打开ListViewColor工程文件。将第一行添加ToolsVersion="3.5",如图所示:otherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecordero
7、ftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitteeSecretary,Ministersand 将MSBuil
8、dBinPath改为MSBuildToolsPath,如下图所示: 现在打开ListViewColor解决方案文件,就可以打开该项目了。(3)如果想把改项目彻底升级到.NETFramework3.5,可以在解决方案管理器右击工程文件-〉属性,修改目标框架,如图示: otherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasreco
9、rderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommi