Add dynamic post build powershell script with config file
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="gtanetwork.api" Version="0.3.6" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.2.0" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.2.0">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
@@ -41,6 +42,6 @@
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(ConfigurationName)' != 'ServerBuild'">
|
||||
<Exec Command="powershell.exe -executionpolicy bypass .\Scripts\moveItems.ps1 -outDir $(OutDir) -outFile $(TargetFileName)" />
|
||||
<Exec Command="powershell -ExecutionPolicy ByPass -File .\post_build.ps1 -buildDirectory $(OutDir) -buildFilename $(TargetFileName)" />
|
||||
</Target>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user