Skip to content

Commit eb327f6

Browse files
committed
chore: Fixes to trimming
1 parent 799006b commit eb327f6

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Cpp2IL.Core/TrimmerRoots.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
<linker>
2-
<assembly fullname="Cpp2IL.Core">
3-
<type fullname="Cpp2IL.Core.Cpp2IlApi" preserve="all" />
4-
<type fullname="Cpp2IL.Core.Api.Cpp2IlPlugin" preserve="all" />
5-
<type fullname="Cpp2IL.Core.Api.PluginLogger" preserve="all" />
6-
</assembly>
2+
<assembly fullname="Cpp2IL.Core" preserve="all"/>
73
</linker>

Cpp2IL/Cpp2IL.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
<ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))">
2424
<TrimmerRootAssembly Include="System.Runtime" />
25+
<TrimmerRootAssembly Include="System.Private.CoreLib" />
2526
</ItemGroup>
2627

2728
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">

0 commit comments

Comments
 (0)