MediaPortal Windows Media Center
MediaPortal Wiki > MediaPortal 1 > Contribute > Development > Building MediaPortal from source > Compile and Build MP1

Compile and Build MP1

3 of 4 found this page helpful
Redirected from 1 MEDIAPORTAL 1/18 Contribute/4 Development/Compiling

    Overview

    How to compile and build MediaPortal 1.

    Introduction

    alert_icon.pngIn order to reduce the size of the MediaPortal Git repository and simplify merging branches and testing, C++ sourced binaries have been removed from the repository as of April, 2013, .

    This change affects the way in which you setup your system to compile and build MediaPortal.

    Note: First you must setup your system with the required software, see Git Setup.

    Compiling with MSBuild

    MSBuild is a command line tool that can be used to build MediaPortal and TV Server. Batch or script files for compiling the various components are available in the Build folder in the GIT repository.

    Compile the Source Code

    To recompile all (C++ & C#) run following script:

    Build\MSBUILD_Rebuild_All_MediaPortal_Release.bat

    To recompile only managed code (C#) run following script:

    Build\MSBUILD_Rebuild_Release_MediaPortal.bat

    To build an NSIS installer run:

    Tools\InstallationScripts\DeployToolUnPacker.nsi

    Note: the MSBUILD_Rebuild_ALL*.bat  scripts also build the DirectShow Filters. If you use the .bat scripts to build only the Client or TVServer_Client, you'll have to build the DirectShow Filters first!




    Tag page (Edit tags)
    • No tags
    Running the latest version?

    V1.6.0 - released December 2013
    Releasenews | Download
    Changelog
     | Requirements
    HTPC
    Team-MediaPortal
     
    About
    Contact |  Press
    Partners