Unable to build (1 Viewer)

pato_mld

Portal Member
November 30, 2007
25
0
Home Country
Hey Guys,

I'm considering going through some code to see if I could help out anywhere and perhaps learn some C# while I'm at it. I'm having some problems just getting the code to compile for the first time.

I followed the instructions from the Moving Pictures google code page and installed visual studio express for C# and used tortoise SVN to get the latest version of mediaportal and moving pictures. I then added all the projects which I could find and which seemed to be related to the build (as in if there's an error which mentions a project then I add that project), and I'm now down to a single error which is:

"The command ""C:\Projects\PluginDev\MediaPortal\Version 1.0.0.0 RC3\xbmc\PostBuild.bat" "C:\Projects\PluginDev\" Debug" exited with code 4.

Looking through all the forums there are a few mentions of this batch file causing some issues but everyone seems to have bypassed it somehow. Any advice would be greatly appreciated. I'm not sure if I'll be any help to the community but I'm happy to have a look around when the finance minister isn't demanding my time :)

I've tried running the batch file directly but all I get is no files being copied.
Thanks in advance.
 

fforde

Community Plugin Dev
June 7, 2007
2,667
1,702
43
Texas
Home Country
United States of America United States of America
I couldn't tell you for sure but you may try removing it from build process. Goto the properties for project throwing the error, goto the Build Events tab and you should see the bat file listed in the "Post-build event command line" box. If this bat file does anything more than move a few DLLs around though, then this may do more harm than good. Just fair warning.
 

d.c

New Member
December 1, 2008
1
0
Home Country
India India
This may happen when you have a space in the path.

Goto the properties for project throwing the error, open properties, goto the Build Events tab and you should see some command in the "Post-build event command line" box.

xcopy $(SourcePath) $(TargetPath)

Wrap both source and target paths with double quotations (").

xcopy "$(SourcePath)" "$(TargetPath)"

If the "Post-build event command line" is referring to any bat file, update the file instead.


Hope this would help. :)



D.C
 

Users who are viewing this thread

Top Bottom