I'm still seeing the issue where the individual projects fail to load with the error message "ALL_BUILD" is targeting ".NETFramework,Version=4.0" when running the VS 2011 generator on windows 8 with visual studio 2011 express developer preview.<div>
What I find interesting is that I find absolutely no references to .NET framework versions in any .vcxproj or .sln files either generated by cmake or created in the visual studio version. In my case it's a native c++ project which I believe would not interact .net at all.</div>
<div><br></div><div>Has anyone else seen this problem recently and maybe been able to fix it? For now I would be okay with manually editing the generated files from cmake to get rid of the problem but I just can't find where in the files the issue shows up.</div>
<div><br></div><div>Regards</div><div>David<br><br><div class="gmail_quote">On Fri, Oct 21, 2011 at 4:36 AM, Bill Hoffman <span dir="ltr"><<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 10/20/2011 6:56 PM, David Cole wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It's not a Windows 8 thing at all... Same symptom occurs on Windows 7.<br>
It's CMake generating this incorrectly:<br>
<br>
# Visual Studio 2011<br>
<br>
When it should be generating:<br>
<br>
# Visual Studio 11<br>
<br>
Since the comment there does not start with the expected string, the<br>
launcher does not recognize it.<br>
<br>
This commit just pushed to 'next' should fix it:<br>
<br>
<a href="http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f0d66ab40aee3af3d201201e7b1275783ffbab36" target="_blank">http://cmake.org/gitweb?p=<u></u>cmake.git;a=commitdiff;h=<u></u>f0d66ab40aee3af3d201201e7b1275<u></u>783ffbab36</a><br>
<br>
That commit will make it into the next rev of CMake.<br>
<br>
<br>
</blockquote></div>
So, you should be able to build if you open VS 11, and then use File open and find the .sln file that CMake created. It just won't work from explorer by double clicking.<div class="HOEnZb"><div class="h5"><br>
<br>
-Bill<br>
<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/<u></u>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/<u></u>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/<u></u>listinfo/cmake</a><br>
</div></div></blockquote></div><br></div>