-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[release/7.0] Target only net7.0 during source-build #75168
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
Changes from 3 commits
3f91e94
2975185
e2466b6
1bd7778
2a1000e
5ab855a
3f4c9d2
9e819d7
b4c49e0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -7,7 +7,7 @@ | |||
| <EnableTrimAnalyzer Condition="$([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) == '.NETFramework'">false</EnableTrimAnalyzer> | ||||
| <IsPackable>true</IsPackable> | ||||
| <!-- Lifetime rules introduced in C# 11 impact scenarios in net6 framework --> | ||||
| <LangVersion Condition="'$(TargetFramework)' == 'net6.0'">10</LangVersion> | ||||
| <LangVersion Condition="'$(TargetFramework)' == 'net6.0' or '$(TargetFramework)' == 'net7.0'">10</LangVersion> | ||||
|
||||
| <LangVersion Condition="'$(TargetFramework)' == 'net6.0' or '$(TargetFramework)' == 'net7.0'">10</LangVersion> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change should also be forward ported into main.
Uh oh!
There was an error while loading. Please reload this page.