TW-1421 |
Solution runner should have a chooser for x86/x64 MSBuild |
|
0
|
|
On 64 bit platforms TeamCity does not use the 64 bit version of the .NET Framework. Instead it only uses the 32 bit version of the .NET Framework (e.g. the 32 bit version of MSBUILD).
Environment: Windows 2003 Server 64 bit engl.
Issue wasresolved
Environment: Windows 2003 Server 64 bit engl.
Issue wasresolved
After setting up the project in TeamCity and attempting the build, team city used the 64 bit framework; however I needed the 32bit. I have reset the registry to point the framework to the 32bit, however there must be a property setting in TeamCity which has stored the path to the framework, because it is trying to use the 64bit framework to launch msbuild.
This is an output from the log "C:\WIN\Microsoft.NET\Framework64\v2.0.50727\MSBuild.exe'"
My question is where is the setting in TeamCity for the path to msbuild and how do I change it.
The problem I'm hitting is that if I open a 32 bit visual studio command line and try to use msbuild on our solution it crashes on some of the mixed projects. If I open up the 64 bit visual studio command line it builds all the way through.
This is on a machine running Vista 64 and TeamCity 4.0.2.
You can add env.MSBuild=<path to msbuild exe for 64bit .NET> to buildAgent.properties file.
On the other hand you may add an environment variable MSBuild to you build configuration.
MSBuild runner contains configuration chooser. You may try using MSBuild runner instead of solution2008 build runner.