Skip to content

Commit

Permalink
Update the SDK to 6.0 Preview 3 (#52196)
Browse files Browse the repository at this point in the history
* Update the SDK to 6.0 Preview 3

Updating the minimum and target version of the SDK to 6.0 Preview 3.

Contributes to #51716

* Fix Linker Trimming tests

* Fix ILLink warnings for latest SDK

- Remove ILLink.Descriptors entry for non-existant method
- Suppress ILLink warnings in mobile tests

Co-authored-by: Jose Perez Rodriguez <[email protected]>
Co-authored-by: Eric Erhardt <[email protected]>
  • Loading branch information
3 people authored May 4, 2021
1 parent 9e685b2 commit 4c7ae35
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
3 changes: 3 additions & 0 deletions eng/testing/linker/SupportFiles/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- Enable NuGet static graph evaluation to optimize incremental restore -->
<RestoreUseStaticGraphEvaluation>true</RestoreUseStaticGraphEvaluation>
<!-- Suppress analyzer and linker warnings as these are tests -->
<EnableTrimAnalyzer>false</EnableTrimAnalyzer>
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions eng/testing/tests.mobile.targets
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@

<PropertyGroup Condition="'$(EnableAggressiveTrimming)' == 'true'">
<PublishTrimmed>true</PublishTrimmed>
<!-- Suppress linker warnings as these are tests -->
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
</PropertyGroup>

<PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"sdk": {
"version": "6.0.100-preview.2.21155.3",
"version": "6.0.100-preview.3.21202.5",
"allowPrerelease": true,
"rollForward": "major"
},
"tools": {
"dotnet": "6.0.100-preview.2.21155.3"
"dotnet": "6.0.100-preview.3.21202.5"
},
"native-tools": {
"cmake": "3.16.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -644,12 +644,6 @@
<method signature="System.Void .ctor()" />
</type>

<!-- Used by metadata update -->
<!-- TODO: Remove this and add a debugger-libs command to invoke updates, see https://github.com/dotnet/runtime/issues/48458 -->
<type fullname="System.Reflection.Metadata.AssemblyExtensions">
<method name="ApplyUpdateSdb" />
</type>

<type fullname="System.ValueType">
<!-- https://github.com/dotnet/runtime/issues/47909 -->
<method signature="System.Void .ctor()" />
Expand Down

0 comments on commit 4c7ae35

Please sign in to comment.