Installing the PlayReady Extension on Visual Studio
If you are developing your Web app in Visual Studio, you will need to download the Microsoft PlayReady Client SDK for Windows 8.1 Store Apps extension (Microsoft.Media.PlayReadyClient.vsix) from https://visualstudiogallery.msdn.microsoft.com/59be4d26-7f00-463e-9d61-2803c36b576b?SRC=Featured. Once you have downloaded the PlayReady .vsix file, you need to add the extension to Visual Studio.
To add the PlayReady extension to Visual Studio
- Start Visual Studio.
- Locate the PlayReady .vsix file you downloaded earlier and open it.
- Once the extension is added, restart Visual Studio.
When you start a new project in Visual Studio, you will need to add a reference to the PlayReady Client SDK for Windows 8.1 Store Apps.
To add a reference in your project
From the PROJECT menu, choose Add Reference.
In the Reference Manager dialog, expand the Windows tab, and then choose Extensions.
Select the check box next to Microsoft PlayReady Client SDK.
Choose the OK button.
From the PROJECT menu, choose PlayReady CS RTM Windows Store app Properties.
Choose the Build tab.
Under the General section, choose the Platform target.
Note
You must choose a specific target platform (x86, x64, or ARM)—do not use Any CPU.
- Make sure the Prefer 32-bit option is not selected.