Skip to content

Conversation

rainersigwald
Copy link
Member

helix.proj is built with the target Test, but does important work
in Wait. Since that target was hooked to Test by an AfterTargets,
it hit a bug in MSBuild that failed AfterTargets targets don't fail a
build that builds the target they hook.

Restructure the targets (transparently to callers) to avoid that
situation and observe failures in Wait.

`helix.proj` is built with the target `Test`, but does important work
in `Wait`. Since that target was hooked to `Test` by an `AfterTargets`,
it hit a bug in MSBuild that failed `AfterTargets` targets don't fail a
build that builds the target they hook.

Restructure the targets (transparently to callers) to avoid that
situation and observe failures in `Wait`.
Copy link
Member

@MattGal MattGal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I assume the worked-around thing will eventually get fixed?

@rainersigwald
Copy link
Member Author

It's definitely a bug. When we looked at it last it was not very clear what the fix was so it might take a while to bubble to the top of our stack. When it is fixed, this target order will keep working, so no special need to revert this at that time.

@natemcmaster natemcmaster merged commit 6d83cc9 into dotnet:master Jan 7, 2019
@rainersigwald rainersigwald deleted the workaround-msbuild-3345 branch January 7, 2019 21:04
joperezr pushed a commit to joperezr/arcade that referenced this pull request Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants