This appears to be due to this change: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1be4b6f4
which was made in November, 2011 and first appeared in CMake 2.8.7. Specifically, this chunk: - if(this->Version >= 8) + if(this->Version >= VS8) { fout << "\tProjectGUID=\"{" << gg->GetGUID(libName) << "}\"\n"; } The value of "this->Version" used to be "71" for Visual Studio 7.1, and the ProjectGUID chunk was unintentionally generated since 71 > 8. When the version number values were fixed so that this->Version could properly be compared, this code started having its always intended effect: only generate the ProjectGUID entry for VS 8 and above... Is this a show-stopping problem for you, or can you adapt your post-build rules to work with CMake 2.8.7 and later...? Thanks, David On Tue, Sep 4, 2012 at 7:41 AM, Sören Textor <s.tex...@ditec-gmbh.de> wrote: > We used CMake 2.8.3 and 2.8.5. But since 2.8.9 the ProjectGUID is missing in > the generated vcproj files (VS 2003 .NET). > We only have problems with some postbuild tools that are searching for that > GUID inside the project file. The GUID ist still inside the sln and inside > the VS 2008, 2010 and "2012" vcproj(x) files. > (we only use 203 .Net, 2008, 2010 and 2012 VS 32 bit generators). > > Thus something has been changed inside the vs 2003 .Net generator.. > > You can reproduce the problem by generate a VS 2003 project and one 2008 > project. Comparing the vcproj files shows the missing ProjectGUID entry. > > Best regards > SirAnn > > Am 04.09.2012 13:19, schrieb David Cole: >> >> We did not change anything related to that in 2.8.9 to the best of my >> >> knowledge... >> >> What problem do you have now that you didn't have before? >> >> (Can I reproduce your problem here...?) >> >> >> Thanks, >> David >> >> >> On Tue, Sep 4, 2012 at 3:46 AM, Sören Textor <s.tex...@ditec-gmbh.de> >> wrote: >>> >>> Hi >>> What's the reason to neglect the ProjectGUID entry inside the generated >>> vcproj-file at the VS .Net 2003 configuration since 2.8.9? >>> >>> Best regards >>> SirAnn >>> >>> >>> >>> >>> >>> -- >>> >>> 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 > > > > -- > > Mit freundlichen Grüßen > Dr.-Ing. Sören Textor > > DiTEC Dr. Siegfried Kahlich & Dierk Langer GmbH > 69126 Heidelberg, Im Breitspiel 19, Germany > > Fon : (+49) 06221/31698-225 > Fax : (+49) 06221/31698-399 > Mail : s.tex...@ditec-gmbh.de > > Handelsregister : HRB 341223 USt-IdNr. : DE 172 101 757 Dieses Dokument ist > vertraulich zu behandeln. Die Weitergabe, sowie Vervielfältigung, Verwertung > und Mitteilung seines Inhalts ist nur mit unserer ausdrücklichen Genehmigung > gestattet. Alle Rechte vorbehalten, insbesondere für den Fall der > Schutzrechtsanmeldung. > > This document has to be treated confidentially. Its contents are not to be > passed on, duplicated, exploited or disclosed without our express > permission. All rights reserved, especially the right to apply for > protective rights. > -- 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