Skip to content

Unset MicrosoftNetCompilersToolsetVersion #45881

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 4, 2023
Merged

Unset MicrosoftNetCompilersToolsetVersion #45881

merged 2 commits into from
Jan 4, 2023

Conversation

wtgodbe
Copy link
Member

@wtgodbe wtgodbe commented Jan 4, 2023

This is older than what's in Arcade now: https://github.com/dotnet/arcade/blob/eae015fb1c92ceef69126164b3969447d0355c08/eng/Versions.props#L45. dotnet/SDK uses the Arcade version, so we can just fall back to that.

Fixes #45882

@wtgodbe wtgodbe requested review from a team and dougbu as code owners January 4, 2023 20:42
@ghost ghost added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Jan 4, 2023
@@ -23,7 +23,7 @@ public Task<T> AddInvocation<T>(string connectionId, string invocationId, Cancel
var tcs = (TaskCompletionSourceWithCancellation<T>)state;
if (completionMessage.HasResult)
{
tcs.SetResult((T)completionMessage.Result);
tcs.SetResult((T)completionMessage.Result!);
Copy link
Member Author

Choose a reason for hiding this comment

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

CC @BrennanConroy this is to preemptively fix dotnet/installer#15151 (comment), which we'll see once we ingest the new SDK from that PR

@@ -23,7 +23,7 @@ public Task<T> AddInvocation<T>(string connectionId, string invocationId, Cancel
var tcs = (TaskCompletionSourceWithCancellation<T>)state;
if (completionMessage.HasResult)
Copy link
Member

Choose a reason for hiding this comment

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

No, Result is allowed to be null, the issue is using generics and nullability doesn't play nicely together.

@wtgodbe wtgodbe merged commit 005f935 into main Jan 4, 2023
@wtgodbe wtgodbe deleted the wtgodbe-patch-1 branch January 4, 2023 22:37
@ghost ghost added this to the 8.0-preview1 milestone Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build errors when building in source-build with the latest compiler version.
2 participants