Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion externals/SVG
2 changes: 2 additions & 0 deletions samples/AvaloniaSvgSample/AvaloniaSvgSample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<LangVersion>latest</LangVersion>
<IsPackable>False</IsPackable>
<Nullable>disable</Nullable>
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
<PublishAot>true</PublishAot>
</PropertyGroup>

<ItemGroup>
Expand Down
12 changes: 12 additions & 0 deletions src/Svg.Custom/Svg.Custom.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@
<DefineConstants>$(DefineConstants);NO_SDC</DefineConstants>
</PropertyGroup>

<!-- Trimming parameters -->
<PropertyGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">
<IsTrimmable>true</IsTrimmable>
<SuppressTrimAnalysisWarnings>false</SuppressTrimAnalysisWarnings>
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
</PropertyGroup>
<!-- AOT parameters -->
<PropertyGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">
<IsAotCompatible>true</IsAotCompatible>
<EnableAotAnalyzer>true</EnableAotAnalyzer>
</PropertyGroup>

<PropertyGroup>
<Description>Custom build of the SVG rendering library.</Description>
<PackageId>Svg.Custom</PackageId>
Expand Down
12 changes: 12 additions & 0 deletions src/Svg.Skia/Svg.Skia.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@
<Nullable>enable</Nullable>
</PropertyGroup>

<!-- Trimming parameters -->
<PropertyGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">
<IsTrimmable>true</IsTrimmable>
<SuppressTrimAnalysisWarnings>false</SuppressTrimAnalysisWarnings>
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
</PropertyGroup>
<!-- AOT parameters -->
<PropertyGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">
<IsAotCompatible>true</IsAotCompatible>
<EnableAotAnalyzer>true</EnableAotAnalyzer>
</PropertyGroup>

<PropertyGroup>
<Description>An SVG rendering library.</Description>
<PackageId>Svg.Skia</PackageId>
Expand Down
Loading