Re-enable building with Ready-to-Run (#18105)

This commit is contained in:
Dongbo Wang
2022-09-15 16:17:23 -07:00
committed by GitHub
parent 1b79395fca
commit f56c4ea9ef
2 changed files with 1 additions and 3 deletions
+1 -2
View File
@@ -137,9 +137,8 @@
<TargetFramework>net7.0</TargetFramework>
<LangVersion>10.0</LangVersion>
<!-- disable ReadyToRun due to issue: https://github.com/dotnet/runtime/issues/72550
<PublishReadyToRun Condition=" '$(Configuration)' != 'Debug' ">true</PublishReadyToRun>
<PublishReadyToRunEmitSymbols>true</PublishReadyToRunEmitSymbols-->
<PublishReadyToRunEmitSymbols>true</PublishReadyToRunEmitSymbols>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-1
View File
@@ -70,7 +70,6 @@ Describe "Validate start of console host" -Tag CI {
else {
$allowedAssemblies += @(
'System.Net.Sockets.dll'
'System.Reflection.Emit.dll'
)
}