Hi all.<br clear="all"><br>Im using CMake 2.8.3 under windows 7 with Visual Studio 2010 32 bit.
<div><br></div><div>I have a rather large CMake configuration which has worked for a few years (VS2008).</div><div>Now today I wanted to use VS2010 and suddenly ran into a problem.</div><div><br></div><div>We use Incredibuild for a distributed build, and when I configure the project and do Incredibuild->Clean I get the error:</div>
<div><br></div><div><div>Build started 2010-12-27 15:34:03.</div><div> 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.</div>
</div><div><br></div><div><br></div><div>I reduced our project down from > 200 projects down to 4 and I still get the problem.</div><div>To remove the uncertainty of using Incredibuild I instead used msbuild and I get the exact same problem:</div>
<div><br></div><div><div>a:\projects\trunk_x86_vs2010>msbuild x.sln</div><div>Microsoft (R) Build Engine Version 4.0.30319.1</div><div>[Microsoft .NET Framework, Version 4.0.30319.208]</div><div>Copyright (C) Microsoft Corporation 2007. All rights reserved.</div>
<div><br></div><div>Build started 2010-12-27 15:34:16.</div><div>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.</div>
<div><br></div><div>Build FAILED.</div><div><br></div><div> 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.</div>
</div><div><br></div><div><br></div><div>But it works if I build with VisualStudio BUILD->Clean (that is the ordinary clean inside the VS gui).</div><div>I did some googling on it, and some indicated a missing EndProject in the .sln file, but I certainly cant see anything like that.</div>
<div><br></div><div>Anyone with similar experience?</div><div><br></div><div>/A</div>