Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 5.6k
Upgrade our TFM to net9.0#90880
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
Uh oh!
There was an error while loading. Please reload this page.
Upgrade our TFM to net9.0 #90880
Changes from all commits
02bcb362fd5797608fe0c5516dae152c33249a4843a49cdb8f32781ef92050db7b8bb3fcceee9afdca7b1f5a55bfcc6935ecadc3b718d654bef19e5e07098941d7eb9cd5f6715f952f1File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,45 +1,32 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <!-- https://learn.microsoft.com/en-us/dotnet/fundamentals/package-validation/diagnostic-ids --> | ||
| <Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
| <Suppression> | ||
| <DiagnosticId>CP0015</DiagnosticId> | ||
| <Target>M:System.Diagnostics.Tracing.EventSource.Write``1(System.String,``0):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target> | ||
| <Left>ref/net8.0/System.Private.CoreLib.dll</Left> | ||
| <Right>lib/net8.0/System.Private.CoreLib.dll</Right> | ||
| </Suppression> | ||
| <Suppression> | ||
| <DiagnosticId>CP0015</DiagnosticId> | ||
| <Target>M:System.Diagnostics.Tracing.EventSource.Write``1(System.String,System.Diagnostics.Tracing.EventSourceOptions@,``0@):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target> | ||
| <Left>ref/net8.0/System.Private.CoreLib.dll</Left> | ||
| <Right>lib/net8.0/System.Private.CoreLib.dll</Right> | ||
| </Suppression> | ||
| <Suppression> | ||
| <DiagnosticId>CP0015</DiagnosticId> | ||
| <Target>M:System.Diagnostics.Tracing.EventSource.Write``1(System.String,System.Diagnostics.Tracing.EventSourceOptions@,System.Guid@,System.Guid@,``0@):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target> | ||
| <Left>ref/net8.0/System.Private.CoreLib.dll</Left> | ||
| <Right>lib/net8.0/System.Private.CoreLib.dll</Right> | ||
| </Suppression> | ||
| <Suppression> | ||
| <DiagnosticId>CP0015</DiagnosticId> | ||
| <Target>M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Object[]):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target> | ||
| <Left>ref/net8.0/System.Private.CoreLib.dll</Left> | ||
| <Right>lib/net8.0/System.Private.CoreLib.dll</Right> | ||
| </Suppression> | ||
| <Suppression> | ||
| <DiagnosticId>CP0015</DiagnosticId> | ||
| <Target>M:System.Diagnostics.Tracing.EventSource.WriteEventCore(System.Int32,System.Int32,System.Diagnostics.Tracing.EventSource.EventData*):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target> | ||
| <Left>ref/net8.0/System.Private.CoreLib.dll</Left> | ||
| <Right>lib/net8.0/System.Private.CoreLib.dll</Right> | ||
| </Suppression> | ||
| <Suppression> | ||
| <DiagnosticId>CP0015</DiagnosticId> | ||
| <Target>M:System.Diagnostics.Tracing.EventSource.WriteEventWithRelatedActivityId(System.Int32,System.Guid,System.Object[]):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target> | ||
| <Left>ref/net8.0/System.Private.CoreLib.dll</Left> | ||
| <Right>lib/net8.0/System.Private.CoreLib.dll</Right> | ||
| </Suppression> | ||
| <Suppression> | ||
| <DiagnosticId>CP0015</DiagnosticId> | ||
| <Target>M:System.Diagnostics.Tracing.EventSource.WriteEventWithRelatedActivityIdCore(System.Int32,System.Guid*,System.Int32,System.Diagnostics.Tracing.EventSource.EventData*):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target> | ||
| <Left>ref/net8.0/System.Private.CoreLib.dll</Left> | ||
| <Right>lib/net8.0/System.Private.CoreLib.dll</Right> | ||
| </Suppression> | ||
| </Suppressions> |
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| <Project> | ||
| <Import Project="../Directory.Build.targets" /> | ||
| <PropertyGroup> | ||
| <IsTrimmable Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">true</IsTrimmable> | ||
| </PropertyGroup> | ||
| </Project> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -16,6 +16,11 @@ | ||
| <Platforms>AnyCPU;x64</Platforms> | ||
| <PlatformTarget>AnyCPU</PlatformTarget> | ||
| <RunAnalyzers>false</RunAnalyzers> | ||
| <!-- | ||
| The SDK warns if a project targets a framework that doesn't support trimming and IsTrimmable is true. | ||
| We set IsTrimmable higher up in the Directory.Build.props files, so we reset it to false here. | ||
| --> | ||
| <IsTrimmable>false</IsTrimmable> | ||
Comment on lines
+19
to
+23
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are you sure this is still necessary? From what I can see, the IsTrimmable=true property is now only set for .NETCoreApp under tools/aot. | ||
| </PropertyGroup> | ||
| <ItemGroup> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -5,7 +5,7 @@ | ||
| --> | ||
| <PropertyGroup> | ||
| <NetCoreAppCurrent>net8.0</NetCoreAppCurrent> | ||
| <NetCoreAppCurrent>net9.0</NetCoreAppCurrent> | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why not to use NetCoreAppCurrentVersion? Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These projects don't import the repo infrastructure. | ||
| <!-- Turn off end of life target framework checks as we intentionally build older .NETCoreApp configurations. --> | ||
| <CheckEolTargetFramework>false</CheckEolTargetFramework> | ||
| <!-- | ||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.