home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
HowTo: Compiling MediaPortal with just .NET framework 2.0
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="scoop" data-source="post: 32072" data-attributes="member: 10498"><p>Hi,</p><p></p><p>Well, the subject is a bit deceptive, but here's a little tutorial on how to compile MediaPortal with as little as possible pieces of software installed:</p><p></p><p><strong><u>Get the software:</u></strong></p><ul> <li data-xf-list-type="ul">- <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en" target="_blank">Microsoft .NET Framework 2.0</a> (you should already have this one installed)<br /> - <a href="http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91" target="_blank">SVN tools</a> (or any SVN client you prefer)<br /> - <a href="http://www.nunit.org/index.php?p=download" target="_blank">NUnit Framework for C#</a> (required; make sure you get the one for .NET 2.0)</li> </ul><p>It would be easy if svn.exe is placed in a directory which is in the PATH variable, or add the directory where you put it into the PATH variable.</p><p></p><p><strong><u>Initial checkout</u></strong></p><p>[code]@echo off</p><p>c:</p><p>cd\</p><p>svn checkout https://svn.sourceforge.net/svnroot/mediaportal/trunk/mediaportal</p><p>[/code]</p><p></p><p>Ok, now the source should be available in c:\mediaportal .</p><p></p><p><strong><u>Update local working copy</u></strong></p><p> After the initial checkout, it should be sufficient to execute the following in order to update your local working copy:</p><p>[code]@echo off</p><p>pushd c:\</p><p>svn update mediaportal</p><p>popd</p><p>[/code]</p><p>If you run this little batch file, then after a while your local working copy should be updated with the SVN source tree. You can update later on with the same batch file.</p><p></p><p><strong><u>Build MediaPortal:</u></strong></p><p>After updating, it's time for compilation. I just put the command into a batch file so I don't have to remember the syntax:</p><p>[code]@echo off</p><p>pushd c:\mediaportal</p><p>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msbuild.exe mediaportal.sln /t:Rebuild /p:Configuration=Release</p><p>popd</p><p>[/code]</p><p>After the build is successfully completed, your freshly compiled MediaPortal is available in C:\mediaportal\xbmc\bin\release\.</p><p></p><p>That's it.</p><p></p><p>Kind regards,</p><p>Michel</p><p></p><p>EDIT: added solution filename to build batchfile... <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite10" alt=":oops:" title="Oops! :oops:" loading="lazy" data-shortname=":oops:" /></p><p>EDIT 01-04-2006: updated howto for SVN</p></blockquote><p></p>
[QUOTE="scoop, post: 32072, member: 10498"] Hi, Well, the subject is a bit deceptive, but here's a little tutorial on how to compile MediaPortal with as little as possible pieces of software installed: [b][u]Get the software:[/u][/b] [list]- [url=http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en]Microsoft .NET Framework 2.0[/url] (you should already have this one installed) - [url=http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91]SVN tools[/url] (or any SVN client you prefer) - [url=http://www.nunit.org/index.php?p=download]NUnit Framework for C#[/url] (required; make sure you get the one for .NET 2.0) [/list] It would be easy if svn.exe is placed in a directory which is in the PATH variable, or add the directory where you put it into the PATH variable. [b][u]Initial checkout[/u][/b] [code]@echo off c: cd\ svn checkout https://svn.sourceforge.net/svnroot/mediaportal/trunk/mediaportal [/code] Ok, now the source should be available in c:\mediaportal . [b][u]Update local working copy[/u][/b] After the initial checkout, it should be sufficient to execute the following in order to update your local working copy: [code]@echo off pushd c:\ svn update mediaportal popd [/code] If you run this little batch file, then after a while your local working copy should be updated with the SVN source tree. You can update later on with the same batch file. [b][u]Build MediaPortal:[/u][/b] After updating, it's time for compilation. I just put the command into a batch file so I don't have to remember the syntax: [code]@echo off pushd c:\mediaportal C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msbuild.exe mediaportal.sln /t:Rebuild /p:Configuration=Release popd [/code] After the build is successfully completed, your freshly compiled MediaPortal is available in C:\mediaportal\xbmc\bin\release\. That's it. Kind regards, Michel EDIT: added solution filename to build batchfile... :oops: EDIT 01-04-2006: updated howto for SVN [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
HowTo: Compiling MediaPortal with just .NET framework 2.0
Contact us
RSS
Top
Bottom