MediaPortal Forums HTPC/MediaCenter

Sponsored Ads

Go Back   MediaPortal Forum » MediaPortal 2 » Help on Development

Help on Development Want to help with the development of MediaPortal 2? Then this is the right place for you.

Reply
 
LinkBack Thread Tools Display Modes
Old 2007-12-25, 21:24   #1 (permalink)
Portal Member
 
Join Date: Dec 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts


Default postbuild.bat not working

Hi again,

I could not get postbuild.bat to work as checked out from SVN yesterday.

I had to change the following to get it to work:

* Add this line:

cd %1MediaPortal\bin\%2

before

del /Q models\*.*

* change all ...\x86\bin\... to ...\bin\...

I am using #Develop 2.2.1 (Build 2648).

/Par
pareklund is offline   Reply With Quote
Old 2007-12-25, 21:59   #2 (permalink)
Portal Member
 
carreno's Avatar
 
Join Date: Jul 2005
Location: France
Age: 21
Posts: 222
Thanks: 7
Thanked 1 Time in 1 Post

Country:

My System

Send a message via MSN to carreno
Default

I was mistaken?

Code:
REM %1 = Solution Directory
REM %2 = $(ConfigurationName) Debug/Release

REM Check for Microsoft Antispyware .BAT bug
if exist .\kernel32.dll exit 1

echo %2
cd %1MediaPortal\bin\%2
del /Q models\*.* 
del /Q skin\default\Scripts\*.* 
del /Q skin\default\Scripts\Precompiled\*.* 
xcopy %1\MediaPortal.Base\*.* . /E /Y /D
copy %1\mymovies\bin\%2\mymovies*.* models
copy %1\mypictures\bin\%2\mypic*.* models
copy %1\mymusic\bin\%2\mymusic*.* models
copy %1\mymedia\bin\%2\mymedia*.* models
copy %1\myweather\bin\%2\myweather*.* models
copy %1\mylogin\bin\%2\mylogin*.* models
copy %1\menu\bin\%2\menu*.* models
copy %1\Settings\bin\%2\Settings*.* models
copy %1\PlayList\bin\%2\PlayList*.* models
copy %1\vmr9Helper\release\vmr9helper.dll .
copy %1\myextensions\bin\%2\myextensions*.* models
copy %1\shares\bin\%2\shares*.* models
not working for me
__________________
carreno is online now   Reply With Quote
Old 2007-12-25, 23:23   #3 (permalink)
Portal Member
 
Join Date: Dec 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Try running the bat script directyly from the command line with your solution dir and "debug" or "release" as argument. Of course, the output structure needs to be built before.

Perhaps there is some environmental differences. Running the script directly from the command line should give you enough info about that.

Good luck.
pareklund is offline   Reply With Quote
Old 2007-12-26, 06:53   #4 (permalink)
Portal Member
 
zebons's Avatar
 
Join Date: Feb 2006
Posts: 392
Thanks: 2
Thanked 22 Times in 17 Posts


Default

With Microsoft C# Visual express Edition, you have to generate for x86 platform and that postbuild.bat'll work (don't generate for ant CPU).
zebons is online now   Reply With Quote
Old 2007-12-26, 09:52   #5 (permalink)
Portal Developer
 
frodo's Avatar
 
Join Date: Apr 2004
Location: The Netherlands
Age: 36
Posts: 1,515
Thanks: 3
Thanked 119 Times in 44 Posts

Country:

My System

Default

With all VS.NET editions you have to select X86 (instead of Any CPU)
before building MP-II

You can do this in the toolbar of vs.net btw..

Frodo
frodo is offline   Reply With Quote
Old 2007-12-26, 11:17   #6 (permalink)
Portal Member
 
Join Date: Dec 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Ok, thanks Frodo! Btw. should I perhaps post in the feedback forum instead?

Thanks

/Par
pareklund is offline   Reply With Quote
Old 2007-12-26, 13:53   #7 (permalink)
Portal Member
 
carreno's Avatar
 
Join Date: Jul 2005
Location: France
Age: 21
Posts: 222
Thanks: 7
Thanked 1 Time in 1 Post

Country:

My System

Send a message via MSN to carreno
Default

thanks all !!!

;-)
__________________
carreno is online now   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling mediaportal postbuild.bat shewless General Support 3 2006-10-06 15:15
MP is working but error at install and start.bat laurentfr Installation, configuration support 0 2006-03-05 10:23
execute .bat or .exe from home dreadycarpenter Plugins 3 2006-02-10 12:57
Installing Daily CVS - where is start.bat ? AndyUK49er General Support 2 2005-12-23 10:46
Kein start.bat in cvs snapshots csberto Media Portal - Support 1 2005-12-20 09:03


All times are GMT +1. The time now is 22:52.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by BBpixel ©2004-2008, jvbPlugin

Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress