Child pages
  • Compiling

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Source\MP2\-Client.sln

    Source\MP2-Server.sln Source\MP2-ServiceMonitor.sln
  • Setup\MP2\-Setup.sln

...

The output will be located in

Code Block
languagexml
Bin\MP2\-Client\bin\x86\Release\

for the client

Code Block
languagexml
Bin\MP2\-Server\bin\x86\Release\

for the server

Code Block
languagexml
Bin\MP2\-ServiceMonitor\bin\x86\Release\

for the service monitor

Code Block
languagexml
Bin\MP2\-Setup\Release\en\-us\

for the setup

Compiling a 'Debug' version

...

* Start Visual Studio 2010 / 2012 * Open the solution file

Code Block
languagexml
Source\MP2-Client.sln

 or

Code Block
languagexml
Source\MP2\-Server.sln

 or

Code Block
languagexml
Source\MP2\-ServiceMonitor.sln

 or

Code Block
languagexml
Setup\MP2\-Setup.sln
  • Set the active build configuration to 'Debug'
  • Set the active platform to 'x86'
  • Select Build->Rebuild solution

The output will be located in

Code Block
languagexml
Bin\MP2-Client\bin\x86\Debug\

...

for the client

Code Block
languagexml
Bin\MP2-Server\bin\x86\Debug\

...

for the server

Code Block
languagexml
Bin\MP2-ServiceMonitor\bin\x86\Debug\

...

for the service monitor

Code Block
languagexml
Bin\MP2-Setup\Debug\en-us\{code}

...

for the

...

setup

...


 

Info
titleImportant Note

MediaPortal 2 does not work in 'Any CPU' configuration. All projects have been disabled from compiling in the 'Any CPU' configuration.

...

The following batch files for compiling with MSBuild are already included in the repository:

Code Block
languagexml
Build\MSBUILD_Rebuild_Release_Client.bat

 for the client

Code Block
languagexml
Build\MSBUILD_Rebuild_Release_Server.bat

 for the server

Code Block
languagexml
Build\MSBUILD_Rebuild_Release_ServiceMonitor.bat

 for the service monitor

Code Block
languagexml
Build\MSBUILD_Rebuild_Release_Setup.bat

 for the setup

You have to run each batch file, one by one. Do not run more than one at the same time.

After the builds are successfully completed, your freshly compiled MediaPortal is available in:

Code Block
languagexml
Bin\MP2-Client\bin\x86\Release

for the client

Code Block
languagexml
Bin\MP2-Server\bin\x86\Release

for the server

Code Block
languagexml
Bin\MP2-ServiceMonitor\bin\x86\Release

for the service monitor

Code Block
languagexml
Bin\MP2-Setup\Release\en-us

for the setup