<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>I&#8217;ve now made considerable progress with creating a cmake configuration for a managed (CLR) project which also links to external managed dlls.&nbsp; I can use msbuild &nbsp;on ALL_BUILD.vcxproj&nbsp; to successfully create an executable etc.&nbsp; <o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Only one minor issue remains; I&#8217;d like to open the cmake-generated solution file in visual studio to allow debugging and browsing of the solution (including external project dependencies).&nbsp; Unfortunately, something in the solution file is convincing&nbsp; visual studio that it has been generated by an obsolete version and needs to be &#8216;converted&#8217;.&nbsp;&nbsp; If I use msbuild on the solution file I get the following error which is a strong clue&#8230;.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-left:36.0pt'>C:\work\software\main\Neul\products\basestation\builds\Emulation&gt;msbuild Basestation.sln<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'>Microsoft (R) Build Engine Version 4.0.30319.1<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'>[Microsoft .NET Framework, Version 4.0.30319.225]<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'>Copyright (C) Microsoft Corporation 2007. All rights reserved.<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-left:36.0pt'>Build started 08/04/2011 16:22:52.<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'>C:\work\software\main\Neul\products\basestation\builds\Emulation\Basestation.sln : error MSB4192: The project file &quot;..\..\..\..\libraries\EthernetBus\EthernetBus.csproj&quot; is in the &quot;.vcproj&quot; file format, which MSBuild no longer supports. Please convert the project by opening it in the Visual Studio IDE or running the conversion tool, or use MSBuild 3.5 or earlier to build it.<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-left:36.0pt'>Build FAILED.<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p><p class=MsoNormal>Now, it&#8217;s most certainly the case that EthernetBus.csproj is NOT in the &#8216;vcproj&#8217; format which I can easily verify by going and building it directly.&nbsp; However, something about the layout of the solution file is confusing visual studio.&nbsp; Inspecting it by eye and comparing to a working solution which also includes EthernetBus.csproj doesn&#8217;t reveal any &#8216;obvious&#8217; problems; the GUID has been correctly inserted in the solution etc.&nbsp; The section<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GlobalSection(ProjectConfigurationPlatforms) = postSolution <o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Contains win32 rather than &#8220;Any CPU&#8221; targets but even replacing these by hand isn&#8217;t enough to remove the msbuild error. &nbsp;&nbsp;<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Anybody managed to work around this ?<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Note, the project/solution was generated using the &#8220;Visual Studio 10&#8221; generator.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>&nbsp; Thanks,<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Neil<o:p></o:p></p></div></body></html>