[CMake] C# Projects in CMake-Made VS2010 Solution Must Be Unloaded/Reloaded to Avoid Being Skipped

Adi Shavit adishavit at gmail.com
Sun Apr 7 08:50:03 EDT 2013


Hi,

  I'm using CMake to generate a VS2010 solution with both C/C++ projects:
native console app, static libs and native DLL; and C# projects: managed
console app and managed DLL.

I'm using CMake with the include_external_msproject + CONFIGURE_FILE technique
as described e.g. here <http://stackoverflow.com/a/15418074/135862>.

However, the resulting solution keeps skipping the build of the C# projects.
Following this <http://stackoverflow.com/a/5243034/135862>, if I "Unload
Project" and then "Reload Project" the projects now build properly.
I must do this every time I re-"Generate" the solution with CMake.

Why is this happening?
Is there a way to avoid this?

Thanks,

Adi

Also cross-posted
here<http://stackoverflow.com/questions/15859576/c-sharp-projects-in-cmake-made-vs2010-solution-must-be-unloaded-reloaded-to-avoi>
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130407/3aca103c/attachment.htm>


More information about the CMake mailing list