RoosterDragon / Desktop-Ponies

Desktop Ponies in .NET [The Original!]
183 stars 32 forks source link

Doesn't compile on Linux #5

Closed kraxarn closed 8 years ago

kraxarn commented 9 years ago

When compiling I get the following error:

/usr/lib/mono/4.5/Microsoft.Common.targets: Error: Command 'robocopy "/home/kraxarn/Downloads/Desktop-Ponies-master/Content" "/home/kraxarn/Downloads/Desktop-Ponies-master/Desktop Ponies/bin/Debug//" /XO /MIR IF errorlevel 4 exit /b %errorlevel% exit /b 0' exited with code: 2. (Desktop Ponies)

RoosterDragon commented 9 years ago

You're probably the first to try building it on anything other than Windows!

This is just the Windows command to copy files from the Content folder to the output directory. You could remove it entirely and copy things manually, or you could try to write a variant that will work on your platform.

Hopefully it'll build aside from that. Good luck.

kraxarn commented 9 years ago

I know similar commands for the Linux platform, but i wasn't able to locate the part of the code or file that was calling the command.

Also, I just noticed there was some Mac stuff using Mono, so I thought it would be able to run on Linux as well :p

RoosterDragon commented 9 years ago

Run, yes. Compile - I guess you'll find out :)

The code is located inside a pre-build event for the Desktop Ponies project. If you're using an IDE you probably need to hunt inside the project settings to find it. If you're building manually look inside the .vbproj file for that section and adjust it.

kraxarn commented 9 years ago

I used the MonoDevelop IDE, since it was the only IDE that I could find to open the project.

I'm not able to try it out until this weekend, no I'll try to figure it out then

RoosterDragon commented 8 years ago

Closing for age.