diff options
author | Viktor Hofer <viktor.hofer@microsoft.com> | 2022-08-20 19:27:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-20 19:27:40 +0300 |
commit | 7d8ae613e6c526182c822e8234cd79c27f66fa8d (patch) | |
tree | 0309f6fd43a7f671a97907774fb25b7b2955d030 /eng | |
parent | 238c04840876b516aeae99e449b829842924805a (diff) | |
parent | 3c73d4d1122bfdbd48679ccc674eb9df18f5a062 (diff) |
Merge pull request #74205 from dotnet-maestro-bot/merge/release/7.0-rc1-to-release/7.0
[automated] Merge branch 'release/7.0-rc1' => 'release/7.0'
Diffstat (limited to 'eng')
-rw-r--r-- | eng/Version.Details.xml | 76 | ||||
-rw-r--r-- | eng/Versions.props | 32 | ||||
-rw-r--r-- | eng/common/sdl/sdl.ps1 | 37 | ||||
-rw-r--r-- | eng/common/templates/steps/execute-sdl.yml | 37 | ||||
-rw-r--r-- | eng/testing/tests.singlefile.targets | 39 |
5 files changed, 110 insertions, 111 deletions
diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 28dd80f5822..14511dc3d73 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -54,77 +54,77 @@ </Dependency> </ProductDependencies> <ToolsetDependencies> - <Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="7.0.0-beta.22416.1"> + <Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="7.0.0-beta.22418.4"> <Uri>https://github.com/dotnet/arcade</Uri> - <Sha>afc901d73d7d3bd363547ddf8769efe14052bfa7</Sha> + <Sha>0c027eede69ba22bafca9a1955f1e00848655ece</Sha> </Dependency> - <Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="7.0.0-beta.22416.1"> + <Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="7.0.0-beta.22418.4"> <Uri>https://github.com/dotnet/arcade</Uri> - <Sha>afc901d73d7d3bd363547ddf8769efe14052bfa7</Sha> + <Sha>0c027eede69ba22bafca9a1955f1e00848655ece</Sha> </Dependency> - <Dependency Name="Microsoft.DotNet.ApiCompat" Version="7.0.0-beta.22416.1"> + <Dependency Name="Microsoft.DotNet.ApiCompat" Version="7.0.0-beta.22418.4"> <Uri>https://github.com/dotnet/arcade</Uri> - <Sha>afc901d73d7d3bd363547ddf8769efe14052bfa7</Sha> + <Sha>0c027eede69ba22bafca9a1955f1e00848655ece</Sha> </Dependency> - <Dependency Name="Microsoft.DotNet.GenAPI" Version="7.0.0-beta.22416.1"> + <Dependency Name="Microsoft.DotNet.GenAPI" Version="7.0.0-beta.22418.4"> <Uri>https://github.com/dotnet/arcade</Uri> - <Sha>afc901d73d7d3bd363547ddf8769efe14052bfa7</Sha> + <Sha>0c027eede69ba22bafca9a1955f1e00848655ece</Sha> </Dependency> - <Dependency Name="Microsoft.DotNet.GenFacades" Version="7.0.0-beta.22416.1"> + <Dependency Name="Microsoft.DotNet.GenFacades" Version="7.0.0-beta.22418.4"> <Uri>https://github.com/dotnet/arcade</Uri> - <Sha>afc901d73d7d3bd363547ddf8769efe14052bfa7</Sha> + <Sha>0c027eede69ba22bafca9a1955f1e00848655ece</Sha> </Dependency> - <Dependency Name="Microsoft.DotNet.XUnitExtensions" Version="7.0.0-beta.22416.1"> + <Dependency Name="Microsoft.DotNet.XUnitExtensions" Version="7.0.0-beta.22418.4"> <Uri>https://github.com/dotnet/arcade</Uri> - <Sha>afc901d73d7d3bd363547ddf8769efe14052bfa7</Sha> + <Sha>0c027eede69ba22bafca9a1955f1e00848655ece</Sha> </Dependency> - <Dependency Name="Microsoft.DotNet.XUnitConsoleRunner" Version="2.5.1-beta.22416.1"> + <Dependency Name="Microsoft.DotNet.XUnitConsoleRunner" Version="2.5.1-beta.22418.4"> <Uri>https://github.com/dotnet/arcade</Uri> - <Sha>afc901d73d7d3bd363547ddf8769efe14052bfa7</Sha> + <Sha>0c027eede69ba22bafca9a1955f1e00848655ece</Sha> </Dependency> - <Dependency Name="Microsoft.DotNet.Build.Tasks.Archives" Version="7.0.0-beta.22416.1"> + <Dependency Name="Microsoft.DotNet.Build.Tasks.Archives" Version="7.0.0-beta.22418.4"> <Uri>https://github.com/dotnet/arcade</Uri> - <Sha>afc901d73d7d3bd363547ddf8769efe14052bfa7</Sha> + <Sha>0c027eede69ba22bafca9a1955f1e00848655ece</Sha> </Dependency> - <Dependency Name="Microsoft.DotNet.Build.Tasks.Packaging" Version="7.0.0-beta.22416.1"> + <Dependency Name="Microsoft.DotNet.Build.Tasks.Packaging" Version="7.0.0-beta.22418.4"> <Uri>https://github.com/dotnet/arcade</Uri> - <Sha>afc901d73d7d3bd363547ddf8769efe14052bfa7</Sha> + <Sha>0c027eede69ba22bafca9a1955f1e00848655ece</Sha> </Dependency> - <Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="7.0.0-beta.22416.1"> + <Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="7.0.0-beta.22418.4"> <Uri>https://github.com/dotnet/arcade</Uri> - <Sha>afc901d73d7d3bd363547ddf8769efe14052bfa7</Sha> + <Sha>0c027eede69ba22bafca9a1955f1e00848655ece</Sha> </Dependency> - <Dependency Name="Microsoft.DotNet.Build.Tasks.Templating" Version="7.0.0-beta.22416.1"> + <Dependency Name="Microsoft.DotNet.Build.Tasks.Templating" Version="7.0.0-beta.22418.4"> <Uri>https://github.com/dotnet/arcade</Uri> - <Sha>afc901d73d7d3bd363547ddf8769efe14052bfa7</Sha> + <Sha>0c027eede69ba22bafca9a1955f1e00848655ece</Sha> </Dependency> - <Dependency Name="Microsoft.DotNet.Build.Tasks.Workloads" Version="7.0.0-beta.22416.1"> + <Dependency Name="Microsoft.DotNet.Build.Tasks.Workloads" Version="7.0.0-beta.22418.4"> <Uri>https://github.com/dotnet/arcade</Uri> - <Sha>afc901d73d7d3bd363547ddf8769efe14052bfa7</Sha> + <Sha>0c027eede69ba22bafca9a1955f1e00848655ece</Sha> </Dependency> - <Dependency Name="Microsoft.DotNet.CodeAnalysis" Version="7.0.0-beta.22416.1"> + <Dependency Name="Microsoft.DotNet.CodeAnalysis" Version="7.0.0-beta.22418.4"> <Uri>https://github.com/dotnet/arcade</Uri> - <Sha>afc901d73d7d3bd363547ddf8769efe14052bfa7</Sha> + <Sha>0c027eede69ba22bafca9a1955f1e00848655ece</Sha> </Dependency> - <Dependency Name="Microsoft.DotNet.Build.Tasks.TargetFramework" Version="7.0.0-beta.22416.1"> + <Dependency Name="Microsoft.DotNet.Build.Tasks.TargetFramework" Version="7.0.0-beta.22418.4"> <Uri>https://github.com/dotnet/arcade</Uri> - <Sha>afc901d73d7d3bd363547ddf8769efe14052bfa7</Sha> + <Sha>0c027eede69ba22bafca9a1955f1e00848655ece</Sha> </Dependency> - <Dependency Name="Microsoft.DotNet.RemoteExecutor" Version="7.0.0-beta.22416.1"> + <Dependency Name="Microsoft.DotNet.RemoteExecutor" Version="7.0.0-beta.22418.4"> <Uri>https://github.com/dotnet/arcade</Uri> - <Sha>afc901d73d7d3bd363547ddf8769efe14052bfa7</Sha> + <Sha>0c027eede69ba22bafca9a1955f1e00848655ece</Sha> </Dependency> - <Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="7.0.0-beta.22416.1"> + <Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="7.0.0-beta.22418.4"> <Uri>https://github.com/dotnet/arcade</Uri> - <Sha>afc901d73d7d3bd363547ddf8769efe14052bfa7</Sha> + <Sha>0c027eede69ba22bafca9a1955f1e00848655ece</Sha> </Dependency> - <Dependency Name="Microsoft.DotNet.VersionTools.Tasks" Version="7.0.0-beta.22416.1"> + <Dependency Name="Microsoft.DotNet.VersionTools.Tasks" Version="7.0.0-beta.22418.4"> <Uri>https://github.com/dotnet/arcade</Uri> - <Sha>afc901d73d7d3bd363547ddf8769efe14052bfa7</Sha> + <Sha>0c027eede69ba22bafca9a1955f1e00848655ece</Sha> </Dependency> - <Dependency Name="Microsoft.DotNet.SharedFramework.Sdk" Version="7.0.0-beta.22416.1"> + <Dependency Name="Microsoft.DotNet.SharedFramework.Sdk" Version="7.0.0-beta.22418.4"> <Uri>https://github.com/dotnet/arcade</Uri> - <Sha>afc901d73d7d3bd363547ddf8769efe14052bfa7</Sha> + <Sha>0c027eede69ba22bafca9a1955f1e00848655ece</Sha> </Dependency> <Dependency Name="System.ComponentModel.TypeConverter.TestData" Version="7.0.0-beta.22415.3"> <Uri>https://github.com/dotnet/runtime-assets</Uri> @@ -250,9 +250,9 @@ <Uri>https://github.com/dotnet/xharness</Uri> <Sha>5ebf69650b9f7b4ecab485be840b3022420f7812</Sha> </Dependency> - <Dependency Name="Microsoft.DotNet.PackageTesting" Version="7.0.0-beta.22416.1"> + <Dependency Name="Microsoft.DotNet.PackageTesting" Version="7.0.0-beta.22418.4"> <Uri>https://github.com/dotnet/arcade</Uri> - <Sha>afc901d73d7d3bd363547ddf8769efe14052bfa7</Sha> + <Sha>0c027eede69ba22bafca9a1955f1e00848655ece</Sha> </Dependency> <Dependency Name="optimization.windows_nt-x64.MIBC.Runtime" Version="1.0.0-prerelease.22415.6"> <Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-optimization</Uri> diff --git a/eng/Versions.props b/eng/Versions.props index be4c1a93969..efff8024de8 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -54,22 +54,22 @@ <!-- SDK dependencies --> <MicrosoftDotNetApiCompatTaskVersion>7.0.100-rc.1.22402.1</MicrosoftDotNetApiCompatTaskVersion> <!-- Arcade dependencies --> - <MicrosoftDotNetApiCompatVersion>7.0.0-beta.22416.1</MicrosoftDotNetApiCompatVersion> - <MicrosoftDotNetBuildTasksFeedVersion>7.0.0-beta.22416.1</MicrosoftDotNetBuildTasksFeedVersion> - <MicrosoftDotNetCodeAnalysisVersion>7.0.0-beta.22416.1</MicrosoftDotNetCodeAnalysisVersion> - <MicrosoftDotNetGenAPIVersion>7.0.0-beta.22416.1</MicrosoftDotNetGenAPIVersion> - <MicrosoftDotNetGenFacadesVersion>7.0.0-beta.22416.1</MicrosoftDotNetGenFacadesVersion> - <MicrosoftDotNetXUnitExtensionsVersion>7.0.0-beta.22416.1</MicrosoftDotNetXUnitExtensionsVersion> - <MicrosoftDotNetXUnitConsoleRunnerVersion>2.5.1-beta.22416.1</MicrosoftDotNetXUnitConsoleRunnerVersion> - <MicrosoftDotNetBuildTasksArchivesVersion>7.0.0-beta.22416.1</MicrosoftDotNetBuildTasksArchivesVersion> - <MicrosoftDotNetBuildTasksInstallersVersion>7.0.0-beta.22416.1</MicrosoftDotNetBuildTasksInstallersVersion> - <MicrosoftDotNetBuildTasksPackagingVersion>7.0.0-beta.22416.1</MicrosoftDotNetBuildTasksPackagingVersion> - <MicrosoftDotNetBuildTasksTargetFrameworkVersion>7.0.0-beta.22416.1</MicrosoftDotNetBuildTasksTargetFrameworkVersion> - <MicrosoftDotNetBuildTasksTemplatingVersion>7.0.0-beta.22416.1</MicrosoftDotNetBuildTasksTemplatingVersion> - <MicrosoftDotNetBuildTasksWorkloadsPackageVersion>7.0.0-beta.22416.1</MicrosoftDotNetBuildTasksWorkloadsPackageVersion> - <MicrosoftDotNetRemoteExecutorVersion>7.0.0-beta.22416.1</MicrosoftDotNetRemoteExecutorVersion> - <MicrosoftDotNetVersionToolsTasksVersion>7.0.0-beta.22416.1</MicrosoftDotNetVersionToolsTasksVersion> - <MicrosoftDotNetPackageTestingVersion>7.0.0-beta.22416.1</MicrosoftDotNetPackageTestingVersion> + <MicrosoftDotNetApiCompatVersion>7.0.0-beta.22418.4</MicrosoftDotNetApiCompatVersion> + <MicrosoftDotNetBuildTasksFeedVersion>7.0.0-beta.22418.4</MicrosoftDotNetBuildTasksFeedVersion> + <MicrosoftDotNetCodeAnalysisVersion>7.0.0-beta.22418.4</MicrosoftDotNetCodeAnalysisVersion> + <MicrosoftDotNetGenAPIVersion>7.0.0-beta.22418.4</MicrosoftDotNetGenAPIVersion> + <MicrosoftDotNetGenFacadesVersion>7.0.0-beta.22418.4</MicrosoftDotNetGenFacadesVersion> + <MicrosoftDotNetXUnitExtensionsVersion>7.0.0-beta.22418.4</MicrosoftDotNetXUnitExtensionsVersion> + <MicrosoftDotNetXUnitConsoleRunnerVersion>2.5.1-beta.22418.4</MicrosoftDotNetXUnitConsoleRunnerVersion> + <MicrosoftDotNetBuildTasksArchivesVersion>7.0.0-beta.22418.4</MicrosoftDotNetBuildTasksArchivesVersion> + <MicrosoftDotNetBuildTasksInstallersVersion>7.0.0-beta.22418.4</MicrosoftDotNetBuildTasksInstallersVersion> + <MicrosoftDotNetBuildTasksPackagingVersion>7.0.0-beta.22418.4</MicrosoftDotNetBuildTasksPackagingVersion> + <MicrosoftDotNetBuildTasksTargetFrameworkVersion>7.0.0-beta.22418.4</MicrosoftDotNetBuildTasksTargetFrameworkVersion> + <MicrosoftDotNetBuildTasksTemplatingVersion>7.0.0-beta.22418.4</MicrosoftDotNetBuildTasksTemplatingVersion> + <MicrosoftDotNetBuildTasksWorkloadsPackageVersion>7.0.0-beta.22418.4</MicrosoftDotNetBuildTasksWorkloadsPackageVersion> + <MicrosoftDotNetRemoteExecutorVersion>7.0.0-beta.22418.4</MicrosoftDotNetRemoteExecutorVersion> + <MicrosoftDotNetVersionToolsTasksVersion>7.0.0-beta.22418.4</MicrosoftDotNetVersionToolsTasksVersion> + <MicrosoftDotNetPackageTestingVersion>7.0.0-beta.22418.4</MicrosoftDotNetPackageTestingVersion> <!-- NuGet dependencies --> <NuGetBuildTasksPackVersion>6.0.0-preview.1.102</NuGetBuildTasksPackVersion> <!-- Installer dependencies --> diff --git a/eng/common/sdl/sdl.ps1 b/eng/common/sdl/sdl.ps1 new file mode 100644 index 00000000000..ac196e164a4 --- /dev/null +++ b/eng/common/sdl/sdl.ps1 @@ -0,0 +1,37 @@ + +function Install-Gdn { + param( + [string]$Path, + + # If omitted, install the latest version of Guardian, otherwise install that specific version. + [string]$Version + ) + + $ErrorActionPreference = 'Stop' + Set-StrictMode -Version 2.0 + $disableConfigureToolsetImport = $true + $global:LASTEXITCODE = 0 + + # `tools.ps1` checks $ci to perform some actions. Since the SDL + # scripts don't necessarily execute in the same agent that run the + # build.ps1/sh script this variable isn't automatically set. + $ci = $true + . $PSScriptRoot\..\tools.ps1 + + $argumentList = @("install", "Microsoft.Guardian.Cli", "-Source https://securitytools.pkgs.visualstudio.com/_packaging/Guardian/nuget/v3/index.json", "-OutputDirectory $Path", "-NonInteractive", "-NoCache") + + if ($Version) { + $argumentList += "-Version $Version" + } + + Start-Process nuget -Verbose -ArgumentList $argumentList -NoNewWindow -Wait + + $gdnCliPath = Get-ChildItem -Filter guardian.cmd -Recurse -Path $Path + + if (!$gdnCliPath) + { + Write-PipelineTelemetryError -Category 'Sdl' -Message 'Failure installing Guardian' + } + + return $gdnCliPath.FullName +}
\ No newline at end of file diff --git a/eng/common/templates/steps/execute-sdl.yml b/eng/common/templates/steps/execute-sdl.yml index 73245593cef..86cf578c431 100644 --- a/eng/common/templates/steps/execute-sdl.yml +++ b/eng/common/templates/steps/execute-sdl.yml @@ -8,29 +8,26 @@ parameters: condition: '' steps: -- ${{ if ne(parameters.overrideGuardianVersion, '') }}: - - powershell: | - $content = Get-Content $(GuardianPackagesConfigFile) - - Write-Host "packages.config content was:`n$content" - - $content = $content.Replace('$(DefaultGuardianVersion)', '$(GuardianVersion)') - $content | Set-Content $(GuardianPackagesConfigFile) - - Write-Host "packages.config content updated to:`n$content" - displayName: Use overridden Guardian version ${{ parameters.overrideGuardianVersion }} +- task: NuGetAuthenticate@1 + inputs: + nuGetServiceConnections: GuardianConnect - task: NuGetToolInstaller@1 displayName: 'Install NuGet.exe' -- task: NuGetCommand@2 - displayName: 'Install Guardian' - inputs: - restoreSolution: $(Build.SourcesDirectory)\eng\common\sdl\packages.config - feedsToUse: config - nugetConfigPath: $(Build.SourcesDirectory)\eng\common\sdl\NuGet.config - externalFeedCredentials: GuardianConnect - restoreDirectory: $(Build.SourcesDirectory)\.packages +- ${{ if ne(parameters.overrideGuardianVersion, '') }}: + - pwsh: | + . $(Build.SourcesDirectory)\eng\common\sdl\sdl.ps1 + $guardianCliLocation = Install-Gdn -Path $(Build.SourcesDirectory)\.artifacts -Version ${{ parameters.overrideGuardianVersion }} + Write-Host "##vso[task.setvariable variable=GuardianCliLocation]$guardianCliLocation" + displayName: Install Guardian (Overridden) + +- ${{ if eq(parameters.overrideGuardianVersion, '') }}: + - pwsh: | + . $(Build.SourcesDirectory)\eng\common\sdl\sdl.ps1 + $guardianCliLocation = Install-Gdn -Path $(Build.SourcesDirectory)\.artifacts + Write-Host "##vso[task.setvariable variable=GuardianCliLocation]$guardianCliLocation" + displayName: Install Guardian - ${{ if ne(parameters.overrideParameters, '') }}: - powershell: ${{ parameters.executeAllSdlToolsScript }} ${{ parameters.overrideParameters }} @@ -40,7 +37,7 @@ steps: - ${{ if eq(parameters.overrideParameters, '') }}: - powershell: ${{ parameters.executeAllSdlToolsScript }} - -GuardianPackageName Microsoft.Guardian.Cli.$(GuardianVersion) + -GuardianCliLocation $(GuardianCliLocation) -NugetPackageDirectory $(Build.SourcesDirectory)\.packages -AzureDevOpsAccessToken $(dn-bot-dotnet-build-rw-code-rw) ${{ parameters.additionalParameters }} diff --git a/eng/testing/tests.singlefile.targets b/eng/testing/tests.singlefile.targets index 86a8b98d545..d307e837e62 100644 --- a/eng/testing/tests.singlefile.targets +++ b/eng/testing/tests.singlefile.targets @@ -26,48 +26,13 @@ <IlcBuildTasksPath>$(CoreCLRILCompilerDir)netstandard/ILCompiler.Build.Tasks.dll</IlcBuildTasksPath> <IlcSdkPath>$(CoreCLRAotSdkDir)</IlcSdkPath> <IlcFrameworkPath>$(NetCoreAppCurrentTestHostSharedFrameworkPath)</IlcFrameworkPath> - <NoWarn>$(NoWarn);IL3050;IL3051;IL3052;IL3054;IL3055;IL1005;IL3002</NoWarn> + <NoWarn>$(NoWarn);IL1005;IL3002</NoWarn> <TrimMode>partial</TrimMode> - <TrimmerSingleWarn>false</TrimmerSingleWarn> <SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings> + <SuppressAotAnalysisWarnings>true</SuppressAotAnalysisWarnings> <!-- Forced by ILLink targets; we should fix the SDK --> <SelfContained>true</SelfContained> - - <!-- Works around https://github.com/dotnet/runtime/issues/73926 --> - <!-- RequiresUnreferenceCodeAttribute method called --> - <NoWarn>$(NoWarn);IL2026;IL2116</NoWarn> - <!-- Invalid use of DynamicallyAccessedMembersAttribute --> - <NoWarn>$(NoWarn);IL2041;IL2042;IL2043;IL2056</NoWarn> - <!-- Reference to removed attribute type --> - <NoWarn>$(NoWarn);IL2045</NoWarn> - <!-- RequiresUnreferencedCodeAttribute mismatch on virtual override --> - <NoWarn>$(NoWarn);IL2046</NoWarn> - <!-- COM marshalling warning --> - <NoWarn>$(NoWarn);IL2050</NoWarn> - <!-- Reflection intrinsics with unknown arguments --> - <NoWarn>$(NoWarn);IL2032;IL2055;IL2057;IL2058;IL2059;IL2060;IL2061;IL2096</NoWarn> - <!-- Unknown values passed to locations with DynamicallyAccessedMemberTypes --> - <NoWarn>$(NoWarn);IL2062;IL2063;IL2064;IL2065;IL2066</NoWarn> - <!-- Unsatisfied DynamicallyAccessedMembers requirements --> - <NoWarn>$(NoWarn);IL2067;IL2068;IL2069;IL2070;IL2071;IL2072;IL2073;IL2074;IL2075;IL2076;IL2077;IL2078;IL2079;IL2080;IL2081;IL2082;IL2083;IL2084;IL2085;IL2086;IL2087;IL2088;IL2089;IL2090;IL2091</NoWarn> - <!-- DynamicallyAccessedMembersAttribute mismatch on virtual override --> - <NoWarn>$(NoWarn);IL2092;IL2093;IL2094;IL2095</NoWarn> - <!-- DynamicallyAccessedMembersAttribute used on unsupported member --> - <NoWarn>$(NoWarn);IL2097;IL2098;IL2099;IL2106</NoWarn> - <!-- Unknown value passed to Expression.Property --> - <NoWarn>$(NoWarn);IL2103</NoWarn> - <!-- Multiple methods associated with state machine type or user method --> - <NoWarn>$(NoWarn);IL2107;IL2117</NoWarn> - <!-- Unannotated type derived from base type with RequiresUnreferencedCode --> - <NoWarn>$(NoWarn);IL2109</NoWarn> - <!-- Reflection access to members with DynamicallyAccessedMembers requirements --> - <NoWarn>$(NoWarn);IL2110;IL2111;IL2114;IL2115</NoWarn> - <!-- Reflection access to members with RequiresUnreferencedCode --> - <NoWarn>$(NoWarn);IL2112;IL2113</NoWarn> - <!-- Reflection access to compiler-generated code --> - <NoWarn>$(NoWarn);IL2118;IL2119;IL2120</NoWarn> - </PropertyGroup> <Import Project="$(CoreCLRBuildIntegrationDir)Microsoft.DotNet.ILCompiler.SingleEntry.targets" Condition="'$(TestNativeAot)' == 'true'" /> |