Failed to detect version of solution/project file

原文: http://xoreax.helpserve.com/Knowledgebase/Article/View/125/0/failed-to-detect-version-of-solutionproject-file


Knowledgebase
Failed to detect version of solution/project file
Posted by Yoni Davidson on 18 May 2014 02:33 PM

Symptoms:

The following error is shown when trying to perform a build:

Failed to detect version of solution/project file: C:\xxx\xxxx\xxxxx.sln
Failed to load solution file: C:\xxx\xxxx\xxxxx.sln (line 0)
Unknown file format signature.

 

Solution:

Usually solved with internal version1498 and on (V5.5 already contains this fix) or by adjusting the .sln file so the "visual studio" line will contain full version - 2010, 2012 etc…and not just 10, 11,12, etc…
In some case, usually after upgrading from older Visual Studio versions, the .sln file might contain the following line which is not valid:

# Visual Studio 2011

Adjusting it to the one of the following options will solve this problem:
# Visual Studio 2010
# Visual Studio 2012
# Visual Studio 2013


我的理解是将 InrementBuild的版本更新到v5.5或者以上可以解决这个问题。


我遇到这个问题的使用,是使用cmake构建工程sln。结果调用 BuildConsle.exe (v4.4) 编译时,抛出了上面的错误。


需要v5.5的可以在我的共享中下载。



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值