[cmake-developers] VS2010 fortran composer

Biddiscombe, John A. biddisco at cscs.ch
Mon Mar 7 08:43:52 EST 2011


No. The cmake generated project is identical to the one I create using visual studio - and both compile fine inside the IDE

but both give the same error when I try to compile using MSBuild

here is the outpur from a simple TestApp generated using the IDE (New Project ....etc etc)


C:\Code\fortrantest\TestApp\TestApp>C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe TestApp.vfproj
Microsoft (R) Build Engine Version 4.0.30319.1
[Microsoft .NET Framework, Version 4.0.30319.1]
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build started 07/03/2011 14:41:43.
Project "C:\Code\fortrantest\TestApp\TestApp\TestApp.vfproj" on node 1 (default targets).
C:\Code\fortrantest\TestApp\TestApp\TestApp.vfproj(2,1): error MSB4075: The project file "C:\Code\fortrantest\TestApp\TestApp\TestApp.vfpro
j" must be opened in the Visual Studio IDE and converted to the latest version before it can be built by MSBuild.
Done Building Project "C:\Code\fortrantest\TestApp\TestApp\TestApp.vfproj" (default targets) -- FAILED.


Build FAILED.

"C:\Code\fortrantest\TestApp\TestApp\TestApp.vfproj" (default target) (1) ->
  C:\Code\fortrantest\TestApp\TestApp\TestApp.vfproj(2,1): error MSB4075: The project file "C:\Code\fortrantest\TestApp\TestApp\TestApp.vfproj" must be opened in the Visual Studio IDE and converted to the latest version before it can be built by MSBuild.

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.04


More information about the cmake-developers mailing list