You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
97 lines
4.0 KiB
97 lines
4.0 KiB
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net48</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<UseWPF>true</UseWPF>
|
|
<LangVersion>12</LangVersion>
|
|
<Version>1.0.0</Version>
|
|
<ApplicationIcon>AIKChina.ico</ApplicationIcon>
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="AIKChina.ico" />
|
|
<None Remove="appsettings.json" />
|
|
<None Remove="logo.ico" />
|
|
<None Remove="NLog.config" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Include="AIKChina.ico" />
|
|
<Content Include="appsettings.json">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="NLog.config">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<!-- devcon.exe(WDK 工具,非系统自带):从 tools 目录复制到输出目录(按位数分 x64/x86 子目录)。
|
|
文件不存在时(开发者机器未放置)不报错、不复制;放入后重新编译即自动带上。
|
|
用途:Win7 上 USB 设备热切换 Code 10 时执行 remove+rescan 软件拔插。 -->
|
|
<Content Include="tools\x64\devcon.exe" Condition="Exists('tools\x64\devcon.exe')">
|
|
<Link>x64\devcon.exe</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</Content>
|
|
<Content Include="tools\x86\devcon.exe" Condition="Exists('tools\x86\devcon.exe')">
|
|
<Link>x86\devcon.exe</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Autoupdater.NET.Official" Version="1.9.2" />
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Hosting" Version="6.0.0" />
|
|
<PackageReference Include="NLog" Version="5.3.4" />
|
|
<PackageReference Include="NLog.Extensions.Hosting" Version="5.3.4" />
|
|
<PackageReference Include="NLog.Extensions.Logging" Version="5.3.4" />
|
|
<PackageReference Include="Ookii.Dialogs.Wpf" Version="5.0.1" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\AIK.Assets\AIK.Assets.csproj" />
|
|
<ProjectReference Include="..\AIK.Common\AIK.Common.csproj" />
|
|
<ProjectReference Include="..\AIK.Service\AIK.Service.csproj" />
|
|
<ProjectReference Include="..\AIK.Views\AIK.Views.csproj" />
|
|
<ProjectReference Include="..\ViewModels\AIK.ViewModels.csproj" />
|
|
</ItemGroup>
|
|
|
|
<!-- System.Data.SQLite 的原生互操作 DLL:发布时默认不会复制 x86/x64 子目录,需显式配置 -->
|
|
<ItemGroup>
|
|
<Content Include="$(NuGetPackageRoot)stub.system.data.sqlite.core.netframework\1.0.119\build\net20\x86\SQLite.Interop.dll">
|
|
<Link>x86\SQLite.Interop.dll</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
<Visible>false</Visible>
|
|
</Content>
|
|
<Content Include="$(NuGetPackageRoot)stub.system.data.sqlite.core.netframework\1.0.119\build\net20\x64\SQLite.Interop.dll">
|
|
<Link>x64\SQLite.Interop.dll</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
<Visible>false</Visible>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Resource Include="logo.ico">
|
|
<Pack>True</Pack>
|
|
<PackagePath>\</PackagePath>
|
|
</Resource>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Reference Include="PresentationCore" />
|
|
<Reference Include="PresentationFramework" />
|
|
<Reference Include="WindowsBase" />
|
|
<Reference Include="System.Xaml" />
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Net.Http" />
|
|
<Reference Include="Microsoft.CSharp" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|