Skip to content

Commit

Permalink
Merge pull request #376 from zdpcdt/main
Browse files Browse the repository at this point in the history
fix Web Demo publish issue
  • Loading branch information
rabbitism authored Jul 10, 2024
2 parents a225fee + 5b48f77 commit f66edd5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions demo/Semi.Avalonia.Demo.Web/Semi.Avalonia.Demo.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@
<ItemGroup>
<ProjectReference Include="..\Semi.Avalonia.Demo\Semi.Avalonia.Demo.csproj" />
</ItemGroup>

<ItemGroup>
<TrimmerRootDescriptor Include="linker.xml" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions demo/Semi.Avalonia.Demo.Web/linker.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<linker>
<assembly fullname="Semi.Avalonia, Version=11.1.0.0, Culture=neutral, PublicKeyToken=null"/>
<assembly fullname="Semi.Avalonia.ColorPicker, Version=11.1.0.0, Culture=neutral, PublicKeyToken=null"/>
<assembly fullname="Semi.Avalonia.DataGrid, Version=11.1.0.0, Culture=neutral, PublicKeyToken=null"/>
</linker>
7 changes: 3 additions & 4 deletions demo/Semi.Avalonia.Demo/App.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:semi="https://irihi.tech/semi">
<Application.Styles>
<!-- You can still reference in old way.
<StyleInclude Source="avares://Semi.Avalonia/Themes/Index.axaml" />
-->
<semi:SemiTheme Locale="zh-CN"/>
<!-- You can still reference in old way. -->
<!-- <StyleInclude Source="avares://Semi.Avalonia/Themes/Index.axaml" /> -->
<semi:SemiTheme Locale="zh-CN" />
<StyleInclude Source="avares://Semi.Avalonia.DataGrid/Index.axaml" />
<StyleInclude Source="avares://Semi.Avalonia.ColorPicker/Index.axaml" />
</Application.Styles>
Expand Down

0 comments on commit f66edd5

Please sign in to comment.