Add build helpers target to SubtitleEdit project

Moved the build helpers target from LibSE.csproj to SubtitleEdit.csproj. This change ensures that the build helper scripts are invoked during the build process of the SubtitleEdit project, enhancing consistency and maintainability.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
This commit is contained in:
Ivandro Jao 2024-10-23 12:54:12 +01:00
parent 424e21628b
commit 33700ae363
2 changed files with 7 additions and 6 deletions

View File

@ -38,11 +38,6 @@
</EmbeddedResource>
</ItemGroup>
<Target Name="InvokeBuildHelpers" BeforeTargets="BeforeCompile;CoreCompile">
<Exec Condition="'$(OS)' == 'Windows_NT'" Command="%22$(SolutionDir)build_helpers.bat%22 rev %22$(ConfigurationName)%22" />
<Exec Condition="'$(OS)' == 'Unix'" Command="bash $(ProjectDir)../../build_helpers.sh rev $(ConfigurationName)" />
</Target>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

View File

@ -284,4 +284,10 @@
<Compile Remove="Logic\VideoPlayers\DirectShowLib2005.cs" />
<EmbeddedResource Remove="Forms\GetDictionaries.resx" />
</ItemGroup>
<Target Name="InvokeBuildHelpers" BeforeTargets="BeforeCompile;CoreCompile">
<Exec Condition="'$(OS)' == 'Windows_NT'" Command="%22$(SolutionDir)build_helpers.bat%22 rev %22$(ConfigurationName)%22" />
<Exec Condition="'$(OS)' == 'Unix'" Command="bash $(ProjectDir)../../build_helpers.sh rev $(ConfigurationName)" />
</Target>
</Project>