A little tidbit on Team Build 2010 and error MSB3147

Posted by Enrique Lima on Geeks with Blogs See other posts from Geeks with Blogs or by Enrique Lima
Published on Tue, 01 Jun 2010 18:23:49 GMT Indexed on 2010/06/02 0:34 UTC
Read the original article Hit count: 386

Filed under:

The problem?

Performing a build on a ClickOnce solution would not be successful due to the setup.bin not being located.

Ok, now what?

Researched from corner to corner, install, re-install, update.  Found some interesting posts to fix the issue, but most of them were focused on Team Foundation Server/Team Build 2008, and some other on 2005.  The other interesting tidbit was the frequent indication to modify the registry to help Team Build find the bootstrapper.

Background info:  This was a migration I posted about a few days ago, a 32 bit TFS implementation to a full 64 bit TFS implementation.  Now, the project has binaries and dependencies on X86 (This piece of information became essential to moving from a failed build to a successful build).

So, what’s the fix?

The trick in this case was to go back into the Build Type and check the properties/configuration.  Upon further investigation, I found the following:  Once you Edit the Build Definition, then select Process, expand 3. Advanced and look for MSBuild Platform, switch from Auto to X86.  Ran the Build, and success!

image

© Geeks with Blogs or respective owner