Skip to content

Commit

Permalink
Fix including Material.Avalonia.DataGrid
Browse files Browse the repository at this point in the history
  • Loading branch information
SKProCH committed Mar 20, 2024
1 parent f2a477b commit 0850356
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Material.Avalonia.DataGrid/Material.Avalonia.DataGrid.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<RuntimeHostConfigurationOption Include="MaterialThemeIncludeDataGrid" Value="true" />
<RuntimeHostConfigurationOption Include="MaterialThemeIncludeDataGrid" Value="true"/>
<!--To exclude this library from trimming-->
<TrimmerRootAssembly Include="Material.Avalonia.DataGrid"/>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
<ProjectReference Include="..\Material.Avalonia.Demo\Material.Avalonia.Demo.csproj"/>
</ItemGroup>

<!--Since Material.Avalonia.DataGrid included as a ProjectReference, auto-imports doesn't work properly-->
<ItemGroup>
<RuntimeHostConfigurationOption Include="MaterialThemeIncludeDataGrid" Value="true" />
<RuntimeHostConfigurationOption Include="MaterialThemeIncludeDataGrid" Value="true"/>
<TrimmerRootAssembly Include="Material.Avalonia.DataGrid"/>
</ItemGroup>
</Project>

0 comments on commit 0850356

Please sign in to comment.