打包調整

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/*
secondary_graph.grf
primary_graph.grf
txt/*
themes/*
sounds/*
publish/*
news/*
foods/*
db/*

Binary file not shown.

Binary file not shown.

View File

@ -15,63 +15,93 @@
<ItemGroup>
<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" />
</ItemGroup>
<ItemGroup>
<Reference Include="AxInterop.WMPLib">
<HintPath>.\lib\AxInterop.WMPLib.dll</HintPath>
</Reference>
<Reference Include="DirectShowLib">
<HintPath>.\lib\DirectShowLib.dll</HintPath>
</Reference>
<Reference Include="EPPlus">
<HintPath>.\lib\EPPlus.dll</HintPath>
</Reference>
<Reference Include="INIFileParser">
<HintPath>.\lib\INIFileParser.dll</HintPath>
</Reference>
<Reference Include="Interop.WMPLib">
<HintPath>.\lib\Interop.WMPLib.dll</HintPath>
</Reference>
<Reference Include="MediaFoundation">
<HintPath>.\lib\MediaFoundation.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Ink">
<HintPath>.\lib\Microsoft.Ink.dll</HintPath>
</Reference>
<Reference Include="Microsoft.IO.RecyclableMemoryStream">
<HintPath>.\lib\Microsoft.IO.RecyclableMemoryStream.dll</HintPath>
</Reference>
<Reference Include="NAudio">
<HintPath>.\lib\NAudio.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json">
<HintPath>.\lib\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Pinyin4net">
<HintPath>.\lib\Pinyin4net.dll</HintPath>
</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">
<HintPath>.\lib\System.Runtime.dll</HintPath>
</Reference>
<Reference Include="Vlc.DotNet.Core">
<HintPath>.\lib\Vlc.DotNet.Core.dll</HintPath>
</Reference>
<Reference Include="Vlc.DotNet.Core.Interops">
<HintPath>.\lib\Vlc.DotNet.Core.Interops.dll</HintPath>
</Reference>
<Reference Include="Vlc.DotNet.Forms">
<HintPath>.\lib\Vlc.DotNet.Forms.dll</HintPath>
</Reference>
<Reference Include="zxing">
<HintPath>.\lib\zxing.dll</HintPath>
</Reference>
</ItemGroup>
<Reference Include="AxInterop.WMPLib">
<HintPath>.\lib\AxInterop.WMPLib.dll</HintPath>
</Reference>
<Reference Include="DirectShowLib">
<HintPath>.\lib\DirectShowLib.dll</HintPath>
</Reference>
<Reference Include="EPPlus">
<HintPath>.\lib\EPPlus.dll</HintPath>
</Reference>
<Reference Include="INIFileParser">
<HintPath>.\lib\INIFileParser.dll</HintPath>
</Reference>
<Reference Include="Interop.WMPLib">
<HintPath>.\lib\Interop.WMPLib.dll</HintPath>
</Reference>
<Reference Include="MediaFoundation">
<HintPath>.\lib\MediaFoundation.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Ink">
<HintPath>.\lib\Microsoft.Ink.dll</HintPath>
</Reference>
<Reference Include="Microsoft.IO.RecyclableMemoryStream">
<HintPath>.\lib\Microsoft.IO.RecyclableMemoryStream.dll</HintPath>
</Reference>
<Reference Include="NAudio">
<HintPath>.\lib\NAudio.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json">
<HintPath>.\lib\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Pinyin4net">
<HintPath>.\lib\Pinyin4net.dll</HintPath>
</Reference>
<Reference Include="System.Runtime">
<HintPath>.\lib\System.Runtime.dll</HintPath>
</Reference>
<Reference Include="Vlc.DotNet.Core">
<HintPath>.\lib\Vlc.DotNet.Core.dll</HintPath>
</Reference>
<Reference Include="Vlc.DotNet.Core.Interops">
<HintPath>.\lib\Vlc.DotNet.Core.Interops.dll</HintPath>
</Reference>
<Reference Include="Vlc.DotNet.Forms">
<HintPath>.\lib\Vlc.DotNet.Forms.dll</HintPath>
</Reference>
<Reference Include="zxing">
<HintPath>.\lib\zxing.dll</HintPath>
</Reference>
</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>

View File

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