| Sponsored Ads |
|
|||||||
| Help on Development Want to help with the development of MediaPortal 2? Then this is the right place for you. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Portal Member
Join Date: Dec 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
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 |
|
|
|
|
|
#2 (permalink) |
|
Portal Member
Join Date: Jul 2005
Location: France
Age: 21
Posts: 222
Thanks: 7
Thanked 1 Time in 1 Post
Country:
|
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
__________________
|
|
|
|
|
|
#3 (permalink) |
|
Portal Member
Join Date: Dec 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
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. |
|
|
|
|
|
#5 (permalink) |
|
Portal Developer
Join Date: Apr 2004
Location: The Netherlands
Age: 36
Posts: 1,515
Thanks: 3
Thanked 119 Times in 44 Posts
Country:
|
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 |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
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 |