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
please try setting environment variable 'MSBuild' with path to the right version of MSBuild. It could be done at the agent machine using buildAgent.properties file, or system environment as well as on the server using build configuration's environment settings. The last way allows you to use TeamCity substitutions, i.e. %system.DotNetFramework2.0%
| Old | New | |
| Stephan Brenner (ymx) - 7 months ago (25 Jan 2008 18:13) | ||
rick jones (rjones)
7 months ago (25 Jan 2008 17:52)I have the opposite problem. I installed TeamCity 3.0.1 on a 2003 64 bit server that had the .Net64 bit framework installed. I had configured my asp.net to use the 64 bit framework. (There are some reg keys you have to modify)
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.