TFS Build with MultiTargeting

Topics: Prism v2 - Silverlight 2, Prism v2 - WPF 3.5
Jun 30, 2009 at 3:54 PM

We have an application that uses PrismV2. It is multitargeted using the project linker. It's split into about 5 modules. 4 are shared on both silverlight and desktop and one is specifically built for the desktop version.

The project builds perfectly in the IDE but Team Foundation Build fails to build to project. I think it builds it but it fails to copy the assemblies correctly to the drop location and fails the build.

I can't think of any way to fix this aside from splitting the application into seperate solution files. How has your team solved this problem? I'm assuming you are using some kind of CI.

Jun 30, 2009 at 6:25 PM



The documentation for the Composite Application Guidance for WPF and Silverlight provides a way to use Team Build while MultiTargeting. You can check the Configure Team Build to Build in Place section of the following article:

·         Multi-Targeting


Please let me know if this helps.


Damian Schenkelman