Skip to content

Fix GetTargetFrameworks MSBuild invoc#12044

Merged
ViktorHofer merged 2 commits intomainfrom
ViktorHofer-patch-1
Jan 2, 2023
Merged

Fix GetTargetFrameworks MSBuild invoc#12044
ViktorHofer merged 2 commits intomainfrom
ViktorHofer-patch-1

Conversation

@ViktorHofer
Copy link
Member

@ViktorHofer ViktorHofer commented Jan 1, 2023

The Platform and Configuration properties must not be undefined when invoking the GetTargetFrameworks target. Unblocks dotnet/runtime#80074

Mimics the existing GetTargetFrameworks target: https://github.com/dotnet/msbuild/blob/a6f6699d1f70bf79db82030938d2c5e52d1e4d2e/src/Tasks/Microsoft.Common.CurrentVersion.targets#L1779-L1795

To double check:

The `Platform` and `Configuration` properties must not be undefined when invoking the GetTargetFrameworks target.
@ViktorHofer ViktorHofer requested a review from smasher164 January 1, 2023 12:36
@ViktorHofer ViktorHofer self-assigned this Jan 1, 2023
@ViktorHofer ViktorHofer enabled auto-merge (squash) January 1, 2023 12:40
@ViktorHofer ViktorHofer merged commit 5a5ae41 into main Jan 2, 2023
@ViktorHofer ViktorHofer deleted the ViktorHofer-patch-1 branch January 2, 2023 10:23
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.

2 participants