Share via


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

  1. Start Visual Studio.
  2. Locate the PlayReady .vsix file you downloaded earlier and open it.
  3. 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

  1. From the PROJECT menu, choose Add Reference.

  2. In the Reference Manager dialog, expand the Windows tab, and then choose Extensions.

  3. Select the check box next to Microsoft PlayReady Client SDK.

  4. Choose the OK button.

  5. From the PROJECT menu, choose PlayReady CS RTM Windows Store app Properties.

  6. Choose the Build tab.

  7. 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.

  1. Make sure the Prefer 32-bit option is not selected.