• Welcome, guest

  • Login

  •  

Type:
Bug
Priority:
Normal Normal  
State:
Fixed
Subsystem:
Agent - .NET
Reporter:
Stephan Brenner (ymx) Send Email
Assignee:
Eugene Petrenko (eugene.petrenko) Send Email
Affects:
TeamCity 2.0 Agra (4111)
Fixed in:
TeamCity 1.2 last fixes, TeamCity 1.2, Agra EAP (3602)
Created:
19 months ago (08 Jan 2007 22:44)
Updated:
7 months ago (25 Jan 2008 18:13)
Votes:
0
Resolved:
JIRA source:
TW-1421
No attachments
Issue has no links

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

  • rick jones (rjones) Send Email
    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.

  • Eugene Petrenko (eugene.petrenko) Send Email
    7 months ago (25 Jan 2008 18:13)

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)

JetBrains Tracker revision #1044 [21-Aug-2008 11:26] (version #46) Copyright 2007-2008 JetBrains s.r.o.