您的位置:首页 > 大数据 > 人工智能

Failed to detect version of solution/project file

2016-07-18 23:19 1126 查看
原文: 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的可以在我的共享中下载。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息