Wiki Navigation
- Loading...
Table of Contents
Download
Actual
IDE
- Visual Studio 2015 Community Edition (other commercial editions should also work) (actual PlatformToolset : Visual Studio 2015 (v140)).
SDK
- Multibyte MFC Librairie(adds Multi-Byte Character support for 'dvblib' project)
- For Visual Studio 2015 and + : Enable (checking box ) the MFC installation during VS2015 setup
- Windows SDK (must be installed, also if your Windows OS version is superior) :
- Windows 8: Windows SDK for Windows 8 (as well as the above for .Net 4!)
Next tools are provided as nuget package on newer MP release.
- DirectX SDK: (Nuget since MP 1.25, please read info below for nuget behaviour if SDK is already present on system)
- DirectX-9 SDK (June 2010) DirectX SDK
- YASM (for mpc-hc subs build) (since MP 1.25 Final, YASM is provided as nuget package, you can skip this )
Legacy (only for old MP Version)
IDE
- NuGet Package Manager for Visual Studio for support Nuget download (Managing Package for solution ),
SDK
- Multibyte MFC Librairie(adds Multi-Byte Character support for 'dvblib' project)
- For Visual Studio 2013 : Visual C++ MFC MBCS Library for Visual Studio 2013 (deprecated)
- Windows SDK (must be installed, also if your Windows OS version is superior) :
Installation
- Instal VS2015
- Instal SDK
Legacy : NuGet Package Manager
As of MediaPortal 1.6 Pre Release, you need the NuGet Package Manager in Visual Studio to compile.
As an alternative you could first run the BuildInit.bat (located in the Git 'Build' directory) to download a package into your Git folder, which will be used instead of the VS add-on.
The order is important : the TeamMediaportal repo must be on top of the official nuget.org, if not, the build can not succes.
Windows nuget download files: https://docs.microsoft.com/fr-fr/nuget/install-nuget-client-tools
YASM (since MP 1.25 Final, YASM is provided as nuget package, you can skip this )
- Unzip
vsyasm.exefrom the previously downloaded package (based on your OS) to your Visual Studio installation directory:
32-bit OS:C:\Program Files\Microsoft Visual Studio 12.0\VC\bin
64-bit OS:C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin - Copy
vsyasm.props,vsyasm.targetsandvsyasm.xmltoC:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\for VS2015, for other version this file must be copied to proper folder.
Configuration
.Net Framework 3.5
Enable the (Microsoft) .NET Framework 3.5 feature if it is not already enabled:
- Go to Control Panel -> Programs
- Click on "Turn Windows features on or off"
- Windows 8: Enable ".NET Framework 3.5 (includes .NET 2.0 and 3.0)"
- Windows 7: Enable "Microsoft .NET Framework 3.5.1"
- Windows 8: Enable ".NET Framework 3.5 (includes .NET 2.0 and 3.0)"
Windows and DirectX SDK Environment Variables
After the installation of the various Windows (and DirectX) SDKs, you should have the following Environment Variables:
DirectX SDK:
This is optional because DirectX SDK is provided as nuget package, anyway if Visual Studio detect than %DXSDK_DIR% is defined on system, Visual Studio will use it instead of Nuget Package.
If you provide a new project to solution, make sure you have defined « DirectX_9_SDK » nuget package to your project.
DXSDK_DIR C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)
You can find the Environment Variables in Control Panel -> System -> Advanced System Settings and click on the button on the bottom.
Legacy : Windows and DirectX SDK Environment Variables
After the installation of the various Windows (and DirectX) SDKs, you should have the following Environment Variables:
Windows SDK 7.1:
WINDOWS_SDK C:\Program Files\Microsoft SDKs\Windows\v7.1
Changelog
Change | Date | Release |
2015/02/17 | 1.11.0 | |
Visual Studio 2015 | 2017/06/13 | 1.16.0 |



This page has no comments.