Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: update nuget stuff


Let's start with downloading the required software:


  • at "Configuring the line ending conversions" select "Checkout Windows-style, commit Unix-style line endings"



  • Start the installation and follow the instructions.
  • At "Choose SSH Client" select "OpenSSH, Git default SSH Client."


  1. Unzip vsyasm.exe from 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
  2. Copy vsyasm.props , vsyasm.targets and vsyasm.xml to C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\


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, if not, the build can not succes.

Image Added

Windows nuget download files:


Note: NSIS is only required if you wish to build an NSIS installer. You can clone, compile, build and run MP without NSIS.

  • Start the installation and follow the instructions (the default settings are fine).



.Net Framework 3.5


  • 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 and DirectX SDK Environment Variables


Code Block
 WINDOWS_SDK C:\Program Files\Microsoft SDKs\Windows\v7.1


DirectX SDK:

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



  • Right click anywhere (Explorer window or desktop) to open the context menu
  • Select TortoiseGIT -> Settings
  • On the Settings *screen, you select *Git from the menu on the left
  • Enter your Name and Email from your GitHub account

(Click image to enlarge)


Note: The rest of the installed software doesn't need any special configuration.


  • the Git Structure - Master and Branches - of our MediaPortal Git repository
  • how to get a Read Only Copy of the source code from the MediaPortal 1 Git repository
  • how to  Clone the MediaPortal 1 Git repository





Visual Studio 2013





Visual Studio 2015