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. 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.
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. Regards David On Fri, Oct 21, 2011 at 4:36 AM, Bill Hoffman <[email protected]>wrote: > On 10/20/2011 6:56 PM, David Cole wrote: > > It's not a Windows 8 thing at all... Same symptom occurs on Windows 7. >> It's CMake generating this incorrectly: >> >> # Visual Studio 2011 >> >> When it should be generating: >> >> # Visual Studio 11 >> >> Since the comment there does not start with the expected string, the >> launcher does not recognize it. >> >> This commit just pushed to 'next' should fix it: >> >> http://cmake.org/gitweb?p=**cmake.git;a=commitdiff;h=** >> f0d66ab40aee3af3d201201e7b1275**783ffbab36<http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f0d66ab40aee3af3d201201e7b1275783ffbab36> >> >> That commit will make it into the next rev of CMake. >> >> >> 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. > > > -Bill > > -- > > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/** > opensource/opensource.html<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<http://www.cmake.org/Wiki/CMake_FAQ> > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake> >
-- 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
