Skip to content

Commit

Permalink
Make it possible to run ILC with non-resilient mode (#105951)
Browse files Browse the repository at this point in the history
Should help with things like #105947 where we're apparently not even able to compile a fallback method body because things are _so_ bad.
  • Loading branch information
MichalStrehovsky authored Aug 5, 2024
1 parent b986480 commit 77fb038
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ The .NET Foundation licenses this file to you under the MIT license.
<IlcArg Include="@(_IlcTrimmedAssemblies->'--trim:%(Identity)')" />
<IlcArg Include="@(_IlcNoSingleWarnAssemblies->'--nosinglewarnassembly:%(Identity)')" />
<IlcArg Condition="'$(TrimmerDefaultAction)' == 'copyused' or '$(TrimmerDefaultAction)' == 'copy' or '$(TrimMode)' == 'partial'" Include="--defaultrooting" />
<IlcArg Include="--resilient" />
<IlcArg Condition="$(IlcResilient) != 'false'" Include="--resilient" />
<IlcArg Include="@(UnmanagedEntryPointsAssembly->'--generateunmanagedentrypoints:%(Identity)')" />

<IlcArg Condition="$(IlcDisableReflection) == 'true'" Include="--feature:System.Reflection.IsReflectionExecutionAvailable=false" />
Expand Down

0 comments on commit 77fb038

Please sign in to comment.