How to Compile The Source Code

Special thanks to Abby Fiichtner

Download/Install

Potential Problems and their solutions

Problem Visual Studio warns: "You should only open projects from a trustworthy source."
Solution Uncheck "Ask me this for every project" and hit OK.

Problem: Warning on opening project "The referenced component 'Expression.Samples.Interactivity' could not be found."
Solution: In the SilverlightHVP.View Project under references, remove the Expression.Samples.Interactivity that it can't find and add a reference to the one you installed from the Expression Blend Samples: C:\Program Files (x86)\Microsoft Expression\Blend 3 Samples\Silverlight\Design\Expression.Samples.Interactivity.dll

Problem Compile error: The "ValidateXaml" task failed unexpectedly. System.IO.FileLoadException: Could not load file or assembly 'file:///...\SilverlightHVP\SMF\smf-bin-1.2009.1112.1\smf-bin-1.2009.1112.1\Microsoft.SilverlightMediaFramework.Data.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

Solution: Find the files and "Unblock" them. Here's how:
  • Go to the directory ...\SilverlightHVP\SMF\smf-bin-1.2009.1112.1\smf-bin-1.2009.1112.1\ which holds 5 DLLs.
  • Individually, right-click on each DLL and click the "Unblock" button at the bottom of the general tab.

Problem: compile error: 2 files in the SilverlightHVP.Tests project could not be opened:
  • VMTests.cs
  • UnitTests.cs
Solution : they should now be checked in, if not, just remove them from the project

Last edited Feb 4, 2010 at 3:55 PM by jliberty, version 1

Comments

No comments yet.