R – 32-bit Build Server and 64-bit Production Server for .NET Web Apps


Our workstations are running 64-bit Vista, and the production servers for our ASP.NET MVC web apps are 64-bit Server 2008 servers. However, our build server running TeamCity is a Server 2008 32-bit server. We will taking these builds and deploying them on the 64-bit production servers. The applications are written all in C#. Should I be concerned about doing the builds in a 32-bit environment? Is it necessary to upgrade our build server?

Best Solution

Technically, there should be no problem in doing so as the compiler will only generate IL code that is not platform dependent.

The .NET application will run on x64 CLR in the production environment. At runtime, the JIT compiler will produce x64 code.