Skip to content

Fix GetTargetPath hook point - #42812

Merged
ViktorHofer merged 1 commit into
mainfrom
ViktorHofer-patch-2
Aug 19, 2024
Merged

ViktorHofer merged 1 commit into
mainfrom
ViktorHofer-patch-2

Conversation

@ViktorHofer

Copy link
Copy Markdown
Member

Same as dotnet/runtime#106553

I noticed that in some environments, the existing hook point (AfterTargets=GetTargetPathWithTargetPlatformMoniker) doesn't run before GetTargetPath. That resulted in some project compiling against the src instead of the ref assembly.

DependsOnTargets + BeforeTargets="GetTargetPath" is is more correct anyway and works as exected.

Same as dotnet/runtime#106553

I noticed that in some environments, the existing hook point (AfterTargets=GetTargetPathWithTargetPlatformMoniker) doesn't run before GetTargetPath. That resulted in some project compiling against the src instead of the ref assembly.

DependsOnTargets + BeforeTargets="GetTargetPath" is is more correct anyway and works as exected.
@ViktorHofer
ViktorHofer requested a review from a team as a code owner August 17, 2024 07:14
@ghost ghost added Area-ApiCompat untriaged Request triage from a team member labels Aug 17, 2024
@ViktorHofer
ViktorHofer enabled auto-merge (squash) August 19, 2024 08:08
@ViktorHofer
ViktorHofer merged commit 22644c1 into main Aug 19, 2024
@ViktorHofer
ViktorHofer deleted the ViktorHofer-patch-2 branch August 19, 2024 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-ApiCompat untriaged Request triage from a team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants