Skip to content

Commit

Permalink
Switching to partial tirming due to AWS SDK issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-tsbk committed Aug 20, 2024
1 parent bc39db5 commit 3b57101
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<AssemblyName>CloudMapEcsPrometheusDiscovery</AssemblyName>
<!-- Below settings drastically reduce app size, while improving startup speed -->
<PublishTrimmed>true</PublishTrimmed>
<TrimMode>full</TrimMode>
<TrimMode>partial</TrimMode>
<SuppressTrimAnalysisWarnings>false</SuppressTrimAnalysisWarnings>
<PublishSingleFile>true</PublishSingleFile>
<PublishReadyToRun>true</PublishReadyToRun>
Expand All @@ -26,10 +26,10 @@
<ItemGroup>
<TrimmerRootAssembly Include="CloudMapEcsPrometheusDiscovery"/>
<!-- Below are assemblies that don't play nicely with trimming -->
<TrimmerRootAssembly Include="AWSSDK.ECS"/>
<TrimmerRootAssembly Include="AWSSDK.Extensions.NETCore.Setup"/>
<TrimmerRootAssembly Include="AWSSDK.ServiceDiscovery"/>
<TrimmerRootAssembly Include="Scrutor"/>
<!-- <TrimmerRootAssembly Include="AWSSDK.ECS"/>-->
<!-- <TrimmerRootAssembly Include="AWSSDK.Extensions.NETCore.Setup"/>-->
<!-- <TrimmerRootAssembly Include="AWSSDK.ServiceDiscovery"/>-->
<!-- <TrimmerRootAssembly Include="Scrutor"/>-->
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 3b57101

Please sign in to comment.