Skip to content

Commit

Permalink
Build XUnitLogChecker as SingleFile when we can't AOT it. Our infra e…
Browse files Browse the repository at this point in the history
…xpects us to publish this with a host. Publishing as single file makes this a little easier (and keeps it as one file).
  • Loading branch information
jkoritzinsky committed Dec 10, 2024
1 parent 8faa705 commit 9fc21e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tests/Common/XUnitLogChecker/XUnitLogChecker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
<TargetFramework>$(NetCoreAppToolCurrent)</TargetFramework>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PublishTrimmed>true</PublishTrimmed>
<PublishAot Condition="'$(UseNativeAotForComponents)' == 'true'">true</PublishAot>
<PublishSingleFile Condition="'$(UseNativeAotForComponents)' != 'true'">true</PublishSingleFile>
<SuppressTrimAnalysisWarnings>false</SuppressTrimAnalysisWarnings>
</PropertyGroup>

Expand Down

0 comments on commit 9fc21e0

Please sign in to comment.