mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Merge pull request #8934 from ivandrofly/build
SubtitleEdit.csproj: Build
This commit is contained in:
commit
0913c8d72a
@ -39,11 +39,6 @@
|
|||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
</ItemGroup>
|
</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' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
@ -284,18 +284,8 @@
|
|||||||
<Compile Remove="Logic\VideoPlayers\DirectShowLib2005.cs" />
|
<Compile Remove="Logic\VideoPlayers\DirectShowLib2005.cs" />
|
||||||
<EmbeddedResource Remove="Forms\GetDictionaries.resx" />
|
<EmbeddedResource Remove="Forms\GetDictionaries.resx" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Target Name="BeforeCompile">
|
<Target Name="InvokeBuildHelpers" BeforeTargets="BeforeCompile;CoreCompile">
|
||||||
<XmlPeek XmlInputPath="$(ProjectDir)packages.config" Query="//package[@id='NHunspell']/@version">
|
<Exec Condition="'$(OS)' == 'Windows_NT'" Command="%22$(SolutionDir)build_helpers.bat%22 rev %22$(ConfigurationName)%22" />
|
||||||
<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" />
|
|
||||||
<Exec Condition="'$(OS)' == 'Unix'" Command="bash $(ProjectDir)../../build_helpers.sh rev $(ConfigurationName)" />
|
<Exec Condition="'$(OS)' == 'Unix'" Command="bash $(ProjectDir)../../build_helpers.sh rev $(ConfigurationName)" />
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="BeforeClean">
|
|
||||||
<Delete Files="@(HunspellAssemblies -> '$(OutputPath)%(Identity)')" />
|
|
||||||
</Target>
|
|
||||||
</Project>
|
</Project>
|
Loading…
Reference in New Issue
Block a user