Bug 2573 - PreBuildEvent needs better error reporting.
PreBuildEvent needs better error reporting.
 Status: NEW None Tools Mono xbuild () unspecified PC Mac OS --- enhancement --- Bugzilla

 Reported: 2011-12-19 15:01 UTC by Rodrigo Kumpera 2011-12-22 19:18 UTC (History) 1 user (show) mono-bugs+tools ---

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 2573 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

• Export the original title and description: or
• Copy the title and description into the new report. Adjust them to be up-to-date if needed.
 Rodrigo Kumpera 2011-12-19 15:01:57 UTC Say I have the following: copy $(ProjectDir)foo$(ProjectDir)Resources\Raw\foo copy $(ProjectDir)bar$(ProjectDir)Resources\Raw\bar On mac, which doesn't have a cp command, this will fail with error 127. It would be very nice if, on failure, we could check if copy exists and report it as missing. Another one, say I fixed just the first copy to use cp: cp $(ProjectDir)foo$(ProjectDir)Resources\Raw\foo copy $(ProjectDir)bar$(ProjectDir)Resources\Raw\bar It will report the error on the whole blob instead on the per-line spilt thing. Which will confuse whoever is trying to make it work.