0
0
mirror of https://github.com/sp-tarkov/assembly-tool.git synced 2025-02-12 14:50:44 -05:00

Pass build configuration to PostBuild.ps1

This commit is contained in:
Cj 2025-01-11 23:40:24 -05:00
parent 5840a58b2f
commit af62310053

View File

@ -4,6 +4,8 @@
<Configuration>Debug</Configuration>
<RunPostBuildEvent>Always</RunPostBuildEvent>
<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
<Configurations>Debug;Release;WAIT_FOR_DEBUGGER</Configurations>
<Platforms>AnyCPU</Platforms>
</PropertyGroup>
<ItemGroup>
@ -15,9 +17,6 @@
</ItemGroup>
<Target Name="PostBuild" AfterTargets="Build">
<Exec Command="pwsh -NoProfile -ExecutionPolicy Bypass .\PostBuild.ps1"
WorkingDirectory="$(ProjectDir)"
StandardOutputImportance="High"
StandardErrorImportance="High" />
<Exec Command="pwsh -NoProfile -ExecutionPolicy Bypass .\PostBuild.ps1 $(ConfigurationName)" />
</Target>
</Project>