0
0
mirror of https://github.com/sp-tarkov/assembly-tool.git synced 2025-02-13 06:30:44 -05:00
assembly-tool/ReCodeItCLI/ReCodeItCLI.csproj

57 lines
1.8 KiB
XML
Raw Normal View History

2024-06-19 21:11:42 -04:00
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
2024-06-19 21:40:10 -04:00
<Version>0.1.0</Version>
2024-06-19 21:11:42 -04:00
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
2024-06-19 21:11:42 -04:00
<ItemGroup>
<ProjectReference Include="..\RecodeItLib\ReCodeItLib.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="CliFx" Version="2.3.5" />
</ItemGroup>
<PropertyGroup>
<AssemblyServerProj>$(SolutionDir)de4dot\AssemblyServer-x64\AssemblyServer-x64.csproj</AssemblyServerProj>
<de4dot-x64Proj>$(SolutionDir)de4dot\de4dot-x64\de4dot-x64.csproj</de4dot-x64Proj>
</PropertyGroup>
<Target Name="GetOutputPath" Returns="@(OutputPath)">
<!-- Emit the OutputPath property -->
<Output TaskParameter="OutputItems" ItemName="OutputPath" />
</Target>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<ItemGroup>
<de4dot Include="$(SolutionDir)de4dot\$(Configuration)\net48\*.*" />
<templates Include="$(SolutionDir)Assets\Templates\**\*.*" />
<Cli Include="$(ProjectDir)$(OutDir)\*.*" />
</ItemGroup>
<MSBuild Projects="$(AssemblyServerProj)" Properties="Configuration=$(Configuration)" />
<MSBuild Projects="$(de4dot-x64Proj)" Properties="Configuration=$(Configuration)" />
<RemoveDir Directories="$(SolutionDir)Build" />
<Copy
SourceFiles="@(Cli)"
DestinationFolder="$(SolutionDir)Build\%(RecursiveDir)"
/>
<Copy
SourceFiles="@(de4dot);"
DestinationFolder="$(SolutionDir)Build\de4dot\%(RecursiveDir)"
/>
<Copy
SourceFiles="@(templates);"
DestinationFolder="$(SolutionDir)Build\Data\%(RecursiveDir)"
/>
</Target>
2024-06-19 21:11:42 -04:00
</Project>