您的位置:首页 > 移动开发

解决方案: the selected file is a solution file but was created by a newer version of this application an

2013-08-06 16:17 841 查看
最近在用IronGithub访问Github api时遇到一个问题:

the selected file is a solution file but was created by a newer version of this application and cannot be opened

原因是从github拿到的irongithub的源码的solution文件为Visual Studio 2012, 而我本机只装了VS2010.

如何才能用VS2010打开VS2012的solution文件呢?
1.首先确保solution里的csproj是2010版本
2.如果不是2010, 请新建工程,添加文件到工程里生成VS2010的csproj文件
3.可以删除sln文件,直接打开csproj文件来添加。
4.也可以编辑sln文件,(注意:不包括双引号)
替换"Format Version 12.00" 为 "Format Version 11.00"
替换"# Visual Studio 2012" 为"# Visual Studio 2010"
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐