打包調整

This commit is contained in:
jasonchenwork 2025-04-17 11:09:59 +08:00
parent c3ca11a71c
commit 2a329413f4
5 changed files with 92 additions and 58 deletions

7
.gitignore vendored
View File

@ -8,3 +8,10 @@ bin/*
obj/* obj/*
secondary_graph.grf secondary_graph.grf
primary_graph.grf primary_graph.grf
txt/*
themes/*
sounds/*
publish/*
news/*
foods/*
db/*

Binary file not shown.

Binary file not shown.

View File

@ -15,6 +15,7 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="MySqlConnector" Version="2.4.0" /> <PackageReference Include="MySqlConnector" Version="2.4.0" />
<PackageReference Include="System.Data.SQLite.Core" Version="1.0.117" />
<PackageReference Include="System.IO.Ports" Version="9.0.3" /> <PackageReference Include="System.IO.Ports" Version="9.0.3" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
@ -51,12 +52,7 @@
<Reference Include="Pinyin4net"> <Reference Include="Pinyin4net">
<HintPath>.\lib\Pinyin4net.dll</HintPath> <HintPath>.\lib\Pinyin4net.dll</HintPath>
</Reference> </Reference>
<Reference Include="SQLite.Interop">
<HintPath>.\lib\SQLite.Interop.dll</HintPath>
</Reference>
<Reference Include="System.Data.SQLite">
<HintPath>.\lib\System.Data.SQLite.dll</HintPath>
</Reference>
<Reference Include="System.Runtime"> <Reference Include="System.Runtime">
<HintPath>.\lib\System.Runtime.dll</HintPath> <HintPath>.\lib\System.Runtime.dll</HintPath>
</Reference> </Reference>
@ -72,6 +68,40 @@
<Reference Include="zxing"> <Reference Include="zxing">
<HintPath>.\lib\zxing.dll</HintPath> <HintPath>.\lib\zxing.dll</HintPath>
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup>
<!-- 複製資料夾 foods -->
<Content Include="foods\**\*.*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<!-- 複製資料夾 db -->
<Content Include="db\**\*.*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<!-- 複製資料夾 txt -->
<Content Include="txt\**\*.*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<!-- 複製資料夾 themes -->
<Content Include="themes\**\*.*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<!-- 複製資料夾 news -->
<Content Include="news\**\*.*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<!-- 複製資料夾 sounds -->
<Content Include="sounds\**\*.*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="config.ini">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project> </Project>

View File

@ -200,9 +200,6 @@
<Compile Update="PrimaryFormParts\SongSearch\PrimaryForm.SongSearch.PinyinSearch.cs"> <Compile Update="PrimaryFormParts\SongSearch\PrimaryForm.SongSearch.PinyinSearch.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Update="PrimaryFormParts\SongSearch\PrimaryForm.SongSearch.StrokeCountSearch.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="PrimaryFormParts\SongSearch\PrimaryForm.SongSearch.WordCountSearch.cs"> <Compile Update="PrimaryFormParts\SongSearch\PrimaryForm.SongSearch.WordCountSearch.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>