mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
Merge pull request #8934 from ivandrofly/build
SubtitleEdit.csproj: Build
This commit is contained in:
commit
0913c8d72a
@ -38,12 +38,7 @@
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</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>
|
||||
|
@ -284,18 +284,8 @@
|
||||
<Compile Remove="Logic\VideoPlayers\DirectShowLib2005.cs" />
|
||||
<EmbeddedResource Remove="Forms\GetDictionaries.resx" />
|
||||
</ItemGroup>
|
||||
<Target Name="BeforeCompile">
|
||||
<XmlPeek XmlInputPath="$(ProjectDir)packages.config" Query="//package[@id='NHunspell']/@version">
|
||||
<Output TaskParameter="Result" PropertyName="HunspellVersion" />
|
||||
</XmlPeek>
|
||||
<PropertyGroup>
|
||||
<HunspellDir>..\..\packages\NHunspell.$(HunspellVersion)\content\</HunspellDir>
|
||||
</PropertyGroup>
|
||||
<Copy SourceFiles="@(HunspellAssemblies -> '$(HunspellDir)%(Identity)')" DestinationFolder="$(OutputPath)" SkipUnchangedFiles="True" />
|
||||
<Exec Condition="'$(OS)' == 'Windows_NT'" Command="%22$(SolutionDir)\build_helpers.bat%22 rev %22$(ConfigurationName)%22" />
|
||||
<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>
|
||||
<Target Name="BeforeClean">
|
||||
<Delete Files="@(HunspellAssemblies -> '$(OutputPath)%(Identity)')" />
|
||||
</Target>
|
||||
</Project>
|
Loading…
Reference in New Issue
Block a user