We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef218d7 commit c568b9eCopy full SHA for c568b9e
Cpp2IL.Core/Cpp2IL.Core.csproj
@@ -28,6 +28,12 @@
28
<IsTrimmable>true</IsTrimmable>
29
</PropertyGroup>
30
31
+ <ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))">
32
+ <EmbeddedResource Include="TrimmerRoots.xml">
33
+ <LogicalName>ILLink.Descriptors.xml</LogicalName>
34
+ </EmbeddedResource>
35
+ </ItemGroup>
36
+
37
<PropertyGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">
38
<IsAotCompatible>true</IsAotCompatible>
39
Cpp2IL.Core/TrimmerRoots.xml
@@ -0,0 +1,6 @@
1
+<linker>
2
+ <assembly fullname="Cpp2IL.Core">
3
+ <type fullname="Cpp2IL.Core.Cpp2IlApi" preserve="all" />
4
+ <type fullname="Cpp2IL.Core.Api.Cpp2IlPlugin" preserve="all" />
5
+ </assembly>
6
+</linker>
0 commit comments