打包調整

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,63 +15,93 @@
<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>
<Reference Include="AxInterop.WMPLib"> <Reference Include="AxInterop.WMPLib">
<HintPath>.\lib\AxInterop.WMPLib.dll</HintPath> <HintPath>.\lib\AxInterop.WMPLib.dll</HintPath>
</Reference> </Reference>
<Reference Include="DirectShowLib"> <Reference Include="DirectShowLib">
<HintPath>.\lib\DirectShowLib.dll</HintPath> <HintPath>.\lib\DirectShowLib.dll</HintPath>
</Reference> </Reference>
<Reference Include="EPPlus"> <Reference Include="EPPlus">
<HintPath>.\lib\EPPlus.dll</HintPath> <HintPath>.\lib\EPPlus.dll</HintPath>
</Reference> </Reference>
<Reference Include="INIFileParser"> <Reference Include="INIFileParser">
<HintPath>.\lib\INIFileParser.dll</HintPath> <HintPath>.\lib\INIFileParser.dll</HintPath>
</Reference> </Reference>
<Reference Include="Interop.WMPLib"> <Reference Include="Interop.WMPLib">
<HintPath>.\lib\Interop.WMPLib.dll</HintPath> <HintPath>.\lib\Interop.WMPLib.dll</HintPath>
</Reference> </Reference>
<Reference Include="MediaFoundation"> <Reference Include="MediaFoundation">
<HintPath>.\lib\MediaFoundation.dll</HintPath> <HintPath>.\lib\MediaFoundation.dll</HintPath>
</Reference> </Reference>
<Reference Include="Microsoft.Ink"> <Reference Include="Microsoft.Ink">
<HintPath>.\lib\Microsoft.Ink.dll</HintPath> <HintPath>.\lib\Microsoft.Ink.dll</HintPath>
</Reference> </Reference>
<Reference Include="Microsoft.IO.RecyclableMemoryStream"> <Reference Include="Microsoft.IO.RecyclableMemoryStream">
<HintPath>.\lib\Microsoft.IO.RecyclableMemoryStream.dll</HintPath> <HintPath>.\lib\Microsoft.IO.RecyclableMemoryStream.dll</HintPath>
</Reference> </Reference>
<Reference Include="NAudio"> <Reference Include="NAudio">
<HintPath>.\lib\NAudio.dll</HintPath> <HintPath>.\lib\NAudio.dll</HintPath>
</Reference> </Reference>
<Reference Include="Newtonsoft.Json"> <Reference Include="Newtonsoft.Json">
<HintPath>.\lib\Newtonsoft.Json.dll</HintPath> <HintPath>.\lib\Newtonsoft.Json.dll</HintPath>
</Reference> </Reference>
<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 Include="System.Runtime">
</Reference> <HintPath>.\lib\System.Runtime.dll</HintPath>
<Reference Include="System.Data.SQLite"> </Reference>
<HintPath>.\lib\System.Data.SQLite.dll</HintPath> <Reference Include="Vlc.DotNet.Core">
</Reference> <HintPath>.\lib\Vlc.DotNet.Core.dll</HintPath>
<Reference Include="System.Runtime"> </Reference>
<HintPath>.\lib\System.Runtime.dll</HintPath> <Reference Include="Vlc.DotNet.Core.Interops">
</Reference> <HintPath>.\lib\Vlc.DotNet.Core.Interops.dll</HintPath>
<Reference Include="Vlc.DotNet.Core"> </Reference>
<HintPath>.\lib\Vlc.DotNet.Core.dll</HintPath> <Reference Include="Vlc.DotNet.Forms">
</Reference> <HintPath>.\lib\Vlc.DotNet.Forms.dll</HintPath>
<Reference Include="Vlc.DotNet.Core.Interops"> </Reference>
<HintPath>.\lib\Vlc.DotNet.Core.Interops.dll</HintPath> <Reference Include="zxing">
</Reference> <HintPath>.\lib\zxing.dll</HintPath>
<Reference Include="Vlc.DotNet.Forms"> </Reference>
<HintPath>.\lib\Vlc.DotNet.Forms.dll</HintPath> </ItemGroup>
</Reference> <ItemGroup>
<Reference Include="zxing"> <!-- 複製資料夾 foods -->
<HintPath>.\lib\zxing.dll</HintPath> <Content Include="foods\**\*.*">
</Reference> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</ItemGroup> </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>