Friday, July 11, 2014

TFS Build - Deploying an MVC Web Site Project with mixed platforms x86 - x64

The Problem
Recently I was working on a project that had mixed platforms (x86 and x64) assemblies. The project would build locally in visual studio 2013, but not on the TFS build server
I was building the project as Any CPU in the project configuration.

The Fix
Set the MSBuild Platform settings to X86 from Auto.


The Configuration
Visual Studio 2013
MVC 5 Web Application
TFS 2010 / TFS Build Server
Windows 2008 / IIS 7 web deployment

I hope this helps someone else out in the future, it took be a good part of a morning to figure this one out.

No comments:

Post a Comment