Skip to content

Commit f56c4ea

Browse files
authored
Re-enable building with Ready-to-Run (PowerShell#18105)
1 parent 1b79395 commit f56c4ea

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

PowerShell.Common.props

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,8 @@
137137

138138
<TargetFramework>net7.0</TargetFramework>
139139
<LangVersion>10.0</LangVersion>
140-
<!-- disable ReadyToRun due to issue: https://github.com/dotnet/runtime/issues/72550
141140
<PublishReadyToRun Condition=" '$(Configuration)' != 'Debug' ">true</PublishReadyToRun>
142-
<PublishReadyToRunEmitSymbols>true</PublishReadyToRunEmitSymbols-->
141+
<PublishReadyToRunEmitSymbols>true</PublishReadyToRunEmitSymbols>
143142

144143
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
145144
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>

test/powershell/Host/Startup.Tests.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ Describe "Validate start of console host" -Tag CI {
7070
else {
7171
$allowedAssemblies += @(
7272
'System.Net.Sockets.dll'
73-
'System.Reflection.Emit.dll'
7473
)
7574
}
7675

0 commit comments

Comments
 (0)