Hi all.
Im using CMake 2.8.3 under windows 7 with Visual Studio 2010 32 bit.
I have a rather large CMake configuration which has worked for a few years
(VS2008).
Now today I wanted to use VS2010 and suddenly ran into a problem.
We use Incredibuild for a distributed build, and when I configure the
project and do Incredibuild->Clean I get the error:
Build started 2010-12-27 15:34:03.
0>A:\projects\trunk_x86_vs2010\x.sln.metaproj : Solution file error
MSB4051: Project {6F41A287-5427-4997-A6F8-F56C774459AD} is referencing a
project with GUID {13D5BF06-3AE9-4798-8955-3D15D7DB6A60}, but a project with
this GUID was not found in the .SLN file.
I reduced our project down from > 200 projects down to 4 and I still get the
problem.
To remove the uncertainty of using Incredibuild I instead used msbuild and I
get the exact same problem:
a:\projects\trunk_x86_vs2010>msbuild x.sln
Microsoft (R) Build Engine Version 4.0.30319.1
[Microsoft .NET Framework, Version 4.0.30319.208]
Copyright (C) Microsoft Corporation 2007. All rights reserved.
Build started 2010-12-27 15:34:16.
a:\projects\trunk_x86_vs2010\x.sln.metaproj : Solution file error MSB4051:
Project {6F41A287-5427-4997-A6F8-F56C774459AD} is referencing a project
with GUID {13D5BF06-3AE9-4798-8955-3D15D7DB6A60}, but a project with this
GUID was not found in the .SLN file.
Build FAILED.
a:\projects\agx\trunk_x86_vs2010\x.sln.metaproj : Solution file error
MSB4051: Project {6F41A287-5427-4997-A6F8-F56C774459AD} is referencing a
project with GUID {13D5BF06-3AE9-4798-8955-3D15D7DB6A60}, but a project with
this GUID was not found in the .SLN file.
But it works if I build with VisualStudio BUILD->Clean (that is the ordinary
clean inside the VS gui).
I did some googling on it, and some indicated a missing EndProject in the
.sln file, but I certainly cant see anything like that.
Anyone with similar experience?
/A
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake