生成单文件

This commit is contained in:
2025-09-26 17:42:33 +08:00
parent 0884292626
commit 13b838c7c7
17 changed files with 1671 additions and 206 deletions

View File

@@ -11,30 +11,43 @@
<ItemGroup>
<Content Include="favicon.ico" />
<Resource Include="Assets\**" />
<Content Include="..\Configs\*" Link="Configs\%(Filename)%(Extension)">
<!--<Content Include="..\Configs\*" Link="%(Filename)%(Extension)">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>-->
<Content Include="..\Configs\Config.json" Link="%(Filename)%(Extension)">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<Reference Include="System.Windows.Forms" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Costura.Fody" Version="6.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<!-- JSON框架 -->
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
<!-- 日志框架 -->
<PackageReference Include="NLog" Version="6.0.2" />
<!--<PackageReference Include="NLog" Version="6.0.2" />-->
<!-- WEB 自宿主 -->
<PackageReference Include="ZJW.NancySwagger" Version="2.0.1" />
<PackageReference Include="Nancy.Hosting.Self" Version="2.0.0" />
<!-- 界面UI-->
<PackageReference Include="HandyControl" Version="3.5.1" />
<PackageReference Include="PropertyChanged.Fody" Version="4.1.0" />
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.135" />
</ItemGroup>
<ItemGroup>
<Content Include="Upload\0.jpg">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.135" />
<!-- WEB 自宿主 -->
<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="9.0.9" />
<PackageReference Include="Microsoft.AspNet.WebApi.Owin" version="5.3.0" />
<PackageReference Include="Microsoft.AspNet.WebApi.Core" Version="5.3.0" />
<PackageReference Include="Microsoft.Owin" Version="4.2.3" />
<PackageReference Include="Microsoft.Owin.Host.SystemWeb" Version="4.2.3" />
<PackageReference Include="Microsoft.AspNet.WebApi.OwinSelfHost" Version="5.3.0" />
<PackageReference Include="Microsoft.AspNet.Identity.Owin" Version="2.2.4" />
<PackageReference Include="Swashbuckle.Core" version="5.6.0" />
<PackageReference Include="Beginor.Owin.StaticFile" Version="0.3.1" />
<PackageReference Include="Microsoft.AspNet.Mvc" Version="5.3.0" />
</ItemGroup>
</Project>