MsBuild difference - Server & FinalBuilder

 Hi,

I have a Visual Studio 10 project that is built using MsBuild.

When i try and build the project form the web gui i get the following error:

Solution file error MSB5014: File format version is not recognized.  MSBuild can only read solution files between versions 7.0 and 9.0, inclusive.

I then proceed to launch finalbuilder on the server and select 'Run Selected Actions' and the project completes without any errors?

I don't understand why the Web version should fail. Are some extra setting for the web interface or does finalbuilder still use the finalbuilder application settings on the server?

 

Regards

Satpal

My guess is that the version of the .net framework that FinalBuilder is using on the server is different to the desktop. There are two ways to fix this.

1) Edit the FinalBuilder Project and exiplictly set the .NET framework version to use on the MSBuild Action (recommended)

2) Login on the build server, run the FinalBuilder IDE, tools\options, FinalBuilder \ .NET Framework Version, set it to 4.0

Also, you might want to check that the build server actually has .NET 4 installed.

Posted By Vincent Parrett on 30 Jun 2011 11:40 PM
My guess is that the version of the .net framework that FinalBuilder is using on the server is different to the desktop. There are two ways to fix this.

1) Edit the FinalBuilder Project and exiplictly set the .NET framework version to use on the MSBuild Action (recommended)


This is done. Set to Version 4.0

 

2) Login on the build server, run the FinalBuilder IDE, tools\options, FinalBuilder \ .NET Framework Version, set it to 4.0


This is also set, with .Net 4

Also, you might want to check that the build server actually has .NET 4 installed.

The server that i'm using is a replica server to the one we use finalbuilder 6 on. We have installed on the server:

  • Microsoft .NET Framework 4 Client Profile
  • Microsoft .NET Framework 4 Extended
  • Microsoft .NET Framework 4 Multi-Targeting Pack

and when i bring up a VS 2010 shell and type msbuild I get:

 

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>msbuild

Microsoft (R) Build Engine Version 4.0.30319.1

[Microsoft .NET Framework, Version 4.0.30319.235]

Copyright (C) Microsoft Corporation 2007. All rights reserved.

I'm not really sure what the problem is. Whats more instesting is that if I run the msbuild action from FinalBuilder 7 application on the server, machine after it fails on the same server, it compiles.

Regards

Satpal

 

You will need to install the full version of the .net sdk, the client profile is not enough.

I would try that, however we have the live server with an identical install to the replica server and that doesn’t have a problem building anything.
Also just to clarify, I’m running FinalBuilderapplicaiton on the same machine that FinalBuilder 7 server is running on, and it’s compiling in the FB 7 app but not on the server.

Are you running the same finalbuilder project on the server with the FinalBuilder IDE? How is the project referenced in FinalBuilder Server (ie id you upload it or point finalbuilder server to it)?

Big D’Oh for me…
I’d uploaded it rather than using the local one, from the filesystem.
It all works now.

Thanks
Satpal