Hello, I have a VS2013 .NET 4.5 console application that is being built with Teamcity.
When I build the Release configuration locally and run it, it correctly runs as a 64bit application.
When I build it with Teamcity, the /platform:anycpu32bitpreferred is added to the compile line, resulting in the console running as a 32bit application.
I've confirmed in the project file, all solution configurations are set to <Prefer32Bit>false</Prefer32Bit>.
The build step is using MSBuild to build the csproj file. Only configuration and output path variables are being passed to MSBuild. Using Microsoft Build Tools 2013, TooslVersion none, Run Platform x64, Targets Build.
We are using a currently licensed Enterprise version of TeamCity 8.1.4.
How do I get my project to build as expected as 64bit?