Click here to Skip to main content
14,734,233 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have downloaded the source code of "Blood Pressure Tracker, Win 8 Phone Based HealthVault App" project from this website. I am using VS 2013 with .Net 4.5
Any Idea, how to resolve it?

Error 1 The "CompileXaml" task failed unexpectedly.
System.IO.FileNotFoundException: Could not load file or assembly 'XamlServicesWP, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'XamlServicesWP, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

Server stack trace:
at Microsoft.Silverlight.Build.Tasks.CompileXaml.GenerateCode(ITaskItem item, Boolean isApplication)
at Microsoft.Silverlight.Build.Tasks.CompileXaml.Execute()
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Build.Framework.ITask.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<executeinstantiatedtask>d__20.MoveNext()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Updated 9-May-15 16:03pm

1 solution

You should install the latest update for Visual Studio 2013 and the latest update for Windows Phone SDK:[^][^]

Tip: Always ask Google first. In this case, googling for "XamlServicesWP" gives you other forum posts where people have the same problem as the first results - and there are already answers ;)

(If googling for "XamlServicesWP" would have brought a lot of other results, not related to your problem, my next Google search would have been "FileNotFoundException Could not load file or assembly XamlServicesWP")

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900