Skip to content

Change build to support net5.0 TFs#46306

Merged
jaredpar merged 1 commit intodotnet:masterfrom
jaredpar:net50
Jul 28, 2020
Merged

Change build to support net5.0 TFs#46306
jaredpar merged 1 commit intodotnet:masterfrom
jaredpar:net50

Conversation

@jaredpar
Copy link
Copy Markdown
Member

This updates our build to support the use of net5.0 as a target
framework inside of our repository.

Note: this is back porting some changes from the covariant returns
branch. Wanted to get them into master sooner so we get more exposure to
them.

This updates our build to support the use of `net5.0` as a target
framework inside of our repository.

Note: this is back porting some changes from the covariant returns
branch. Wanted to get them into master sooner so we get more exposure to
them.
@jaredpar jaredpar requested a review from a team as a code owner July 24, 2020 16:31
@jaredpar
Copy link
Copy Markdown
Member Author

@dotnet/roslyn-infrastructure for review

@jaredpar
Copy link
Copy Markdown
Member Author

@dotnet/roslyn-infrastructure PTAL

This condition will be evaluated multiple times in multi-targeted projects hence need to be careful
to only set in the inner builds, not the outer build where only $(TargetFrameworks) is defined.
-->
<DisableNullableWarnings Condition="'$(DisableNullableWarnings)' == '' AND $(TargetFrameworks.Contains('netcoreapp3.1')) AND '$(TargetFramework)' != '' AND '$(TargetFramework)' != 'netcoreapp3.1'">true</DisableNullableWarnings>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Oh man, this wasn't quoted before? That was a bug waiting to happen.

@jaredpar jaredpar merged commit 1def11b into dotnet:master Jul 28, 2020
@ghost ghost added this to the Next milestone Jul 28, 2020
@jaredpar jaredpar deleted the net50 branch July 28, 2020 12:58
@RikkiGibson RikkiGibson modified the milestones: Next, 16.8.P2 Aug 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants