Bug 39117 - Multiple PostBuildEvent's in *.csproj
Summary: Multiple PostBuildEvent's in *.csproj
Status: RESOLVED NORESPONSE
Alias: None
Product: Tools
Classification: Mono
Component: xbuild ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Ankit Jain
URL:
Depends on:
Blocks:
 
Reported: 2016-02-25 13:14 UTC by pbond81
Modified: 2017-09-04 22:22 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

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 on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description pbond81 2016-02-25 13:14:20 UTC
XBuild can handle only one PostBuildEvent entry. 
The second entry is not executed and ignored.
Comment 1 Rodrigo Kumpera 2016-03-17 14:46:00 UTC
Hi Ankit,

Assigning this one for you.
I assume it will be fixed by the msbuild switch.
Comment 2 Ankit Jain 2016-03-17 15:52:58 UTC
PostBuildEvent is a property, so, it will only have one value. Any "later/subsequent" entries would override the previous value.

Can you show the project file that you are trying to build?
Comment 3 Marek Safar 2017-09-04 22:22:37 UTC
We have not received the requested information. If you are still experiencing this issue please provide all the requested information and reopen the bug report.

Thank you!