1
votes

I'm trying to get a solution containing a Windows Phone app to build on check-in to Team foundation Service (i.e. the hosted service), however it is failing with errors like:

C:\Program Files (x86)\MSBuild\Microsoft\Silverlight for Phone\v4.0\Microsoft.Silverlight.Common.targets (200): The "CompileXaml" task failed unexpectedly. System.IO.FileLoadException: Could not load file or assembly 'PresentationCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047) File name: 'PresentationCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

Is it just the case that Windows Phone apps aren't supported for builds, or do I need to apply some magic to the build template?

1
Is the appropriate SDK installed on the build server? - Matt Lacey
The build server is provided for me as part of Team Foundation Service (NB: The cloud hosted version) subscription. I cannot even log on to it to verify what SDKs may be installed, however the list at tfs.visualstudio.com/en-us/… implies Windows Phone 8 apps should work (mine happens to be a Windows Phone 7 app, though I believe the 8 SDK to be backwardly compatible?) - Rowland Shaw

1 Answers

1
votes

If you are using the Windows Phone 8 SDK, then you should be good to go according to the current list of software that is installed on the hosted build servers on the Team Foundation Service: http://tfs.visualstudio.com/en-us/learn/hosted-build-controller-in-vs.aspx#software.