Merge pull request #376 from zdpcdt/main

fix Web Demo publish issue
This commit is contained in:
Dong Bin 2024-07-10 22:35:58 +08:00 committed by GitHub
commit f66edd5782
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 4 deletions

View File

@ -11,4 +11,8 @@
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\Semi.Avalonia.Demo\Semi.Avalonia.Demo.csproj" /> <ProjectReference Include="..\Semi.Avalonia.Demo\Semi.Avalonia.Demo.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<TrimmerRootDescriptor Include="linker.xml" />
</ItemGroup>
</Project> </Project>

View File

@ -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>

View File

@ -4,10 +4,9 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:semi="https://irihi.tech/semi"> xmlns:semi="https://irihi.tech/semi">
<Application.Styles> <Application.Styles>
<!-- You can still reference in old way. <!-- You can still reference in old way. -->
<StyleInclude Source="avares://Semi.Avalonia/Themes/Index.axaml" /> <!-- <StyleInclude Source="avares://Semi.Avalonia/Themes/Index.axaml" /> -->
--> <semi:SemiTheme Locale="zh-CN" />
<semi:SemiTheme Locale="zh-CN"/>
<StyleInclude Source="avares://Semi.Avalonia.DataGrid/Index.axaml" /> <StyleInclude Source="avares://Semi.Avalonia.DataGrid/Index.axaml" />
<StyleInclude Source="avares://Semi.Avalonia.ColorPicker/Index.axaml" /> <StyleInclude Source="avares://Semi.Avalonia.ColorPicker/Index.axaml" />
</Application.Styles> </Application.Styles>