Getting the source code

1. Install the Visual Studio Tools for Git Extension
2. Find the url for the Git repository via the Source page:
git_repo.png
3. In Team Explorer in Visual Studio you can easily clone the Git repository to a local folder:
git_clone.png
4. Open the desired solution in Visual Studio 2012:
  • For Windows 8 Xaml: Microsoft.Win8.PlayerFramework.Xaml.sln
  • For Windows 8 JS: Microsoft.Win8.PlayerFramework.Js.sln
  • For Windows Phone 8 Xaml: Microsoft.WP8.PlayerFramework.SL.sln
  • For HTML5 web browsers: Microsoft.Web.PlayerFramework.Html5.sln

Requirements to run the source code

Windows 8 (Xaml and JS)
Required additional SDKs (these must be installed): Before building:
Change your build configuration to x64 or x86. AnyCPU (the default in Visual Studio) will not work due to dependencies on native libraries.
build_config1.png
build_config2.png
Set your startup project to one of the Samples by right clicking on the project and selecting "Set as StartUp Project"

Windows Phone 8 (Xaml and JS)
Required additional SDKs (these must be installed): Set your startup project to Microsoft.WP8.PlayerFramework.SL.Test by right clicking on the project and selecting "Set as StartUp Project"

HTML5 for browsers
There are no special requirements to run this source

Rebuilding the source code

Windows 8 and Windows Phone 8
1. Make sure you have the 64 bit of 7-Zip installed on your machine.
2. In your local reprository folder, there is a subfolder called Build.Vsix. Simply run the batch file "BuildSDKs.Win81.bat" (if running on Windows 8.1) or "BuildSDKs.Win80.bat" (If running on Windows 8.0). When finished, an updated .vsix extension SDK will appear in the Build.Vsix folder that you can then install to Visual Studio 2012 or 2013.

HTML5 for web browsers
In your local repository folder, there is a folder called Web.Html5\Build. Simply run the batch file "build.bat" and it will automatically generate an updated files in Web.Html5\js and Web.Html5\css

Last edited Sep 23, 2013 at 7:52 PM by timgreenfield, version 7