Files
MaaAssistantArknights/src/SyncRes/SyncRes.csproj
Cryolitia 46ae69d599 update
2023-10-13 22:03:03 +08:00

24 lines
1.4 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>
</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\**\*.*" />
</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" />
</Target>
</Project>