This is because CMake generates invalid GUIDs in solution (these GUIDs are for C++ project).<div><br></div><div>There is a bug report with patch on CMake bug tracker: <a href="http://www.cmake.org/Bug/view.php?id=9742">http://www.cmake.org/Bug/view.php?id=9742</a> but it seems C# is not very interesting for CMake developers (complete C# support requires much more effort).</div>
<div><br></div><div>The only way to build C# projects at the moment is to use custom commands or targets (may be via ExternalProject script).</div><div><br><div class="gmail_quote">On Sat, Mar 31, 2012 at 2:05 AM, Valentine S. <span dir="ltr"><<a href="mailto:dizel3d@gmail.com">dizel3d@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have several C++ projects (library, tests, examples) for Linux and Windows. This projects are generated by CMake (Makefile for Linux, *.vcproj for Windows MS Visual Studio). And I have C++/CLI (C++ library wrapper) and C# projects (tests, examples). This projects are written in MS Visual Studio and used on Windows platform only. I can include external MS C++/CLI project (*.vcxproj) to generated solution file (*.sln) using command "include_external_msproject". But I cannot include MS C# project (*.csproj) to generated solution. How can I do that? When will you implement "include_external_msproject" for *.csproj files?
<br>--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br></div>