mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 18:01:26 +08:00
29 lines
1.8 KiB
XML
29 lines
1.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<Configurations>RelWithDebInfo;Release;Debug</Configurations>
|
|
<Platforms>x64;ARM64</Platforms>
|
|
<TargetFramework>netstandard2.0</TargetFramework>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
|
<EnableDefaultItems>false</EnableDefaultItems>
|
|
<Nullable>disable</Nullable>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<UpToDateCheckInput Include="non-exist-file" />
|
|
<!-- <UpToDateCheckOutput Include="NUL" /> -->
|
|
</ItemGroup>
|
|
<Target Name="CopyMaaResourceFiles" BeforeTargets="Build">
|
|
<ItemGroup>
|
|
<MaaResourceFiles Include="$(MSBuildProjectDirectory)\..\..\resource\**\*.*" />
|
|
<MaaPythonBinding Include="$(MSBuildProjectDirectory)\..\..\src\Python\**\*.*" />
|
|
<!-- 添加 DependencySetup_依赖库安装.bat 文件 -->
|
|
<DependencySetupFile Include="$(MSBuildProjectDirectory)\..\..\DependencySetup_依赖库安装.bat" />
|
|
</ItemGroup>
|
|
<Message Text="Copying resource files" Importance="High" />
|
|
<Copy SourceFiles="@(MaaResourceFiles)" DestinationFiles="$(MSBuildProjectDirectory)\..\..\$(Platform)\$(Configuration)\resource\%(RecursiveDir)%(Filename)%(Extension)" SkipUnchangedFiles="true" UseHardlinksIfPossible="true" />
|
|
<Copy SourceFiles="@(MaaPythonBinding)" DestinationFiles="$(MSBuildProjectDirectory)\..\..\$(Platform)\$(Configuration)\Python\%(RecursiveDir)%(Filename)%(Extension)" SkipUnchangedFiles="true" UseHardlinksIfPossible="true" />
|
|
<!-- 复制 DependencySetup_依赖库安装.bat 文件 -->
|
|
<Copy SourceFiles="@(DependencySetupFile)" DestinationFiles="$(MSBuildProjectDirectory)\..\..\$(Platform)\$(Configuration)\%(Filename)%(Extension)" SkipUnchangedFiles="true" UseHardlinksIfPossible="true" />
|
|
</Target>
|
|
</Project>
|