move packages.config

This commit is contained in:
Nikolaj Olsson 2020-11-19 21:14:29 +01:00
parent 2a41519be6
commit 38bb0ce9d0
3 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View File

@ -40,3 +40,4 @@ SubtitleEdit-*.zip
SubtitleEditBeta
/src/SubtitleEdit.sln.DotSettings
/packages/NHunspell.1.2.5554.16953
/packages/ILRepack.2.0.18

View File

@ -1933,11 +1933,11 @@
</ItemGroup>
<ItemGroup />
<Target Name="BeforeCompile">
<XmlPeek XmlInputPath="$(SolutionDir)packages.config" Query="//package[@id='NHunspell']/@version">
<XmlPeek XmlInputPath="$(SolutionDir)\src\ui\packages.config" Query="//package[@id='NHunspell']/@version">
<Output TaskParameter="Result" PropertyName="HunspellVersion" />
</XmlPeek>
<PropertyGroup>
<HunspellDir>$(SolutionDir)packages\NHunspell.$(HunspellVersion)\content\</HunspellDir>
<HunspellDir>$(SolutionDir)\src\ui\packages\NHunspell.$(HunspellVersion)\content\</HunspellDir>
</PropertyGroup>
<Copy SourceFiles="@(HunspellAssemblies -> '$(HunspellDir)%(Identity)')" DestinationFolder="$(OutputPath)" SkipUnchangedFiles="True" />
<Exec Command="%22$(SolutionDir)\build_helpers.bat%22 rev %22$(ConfigurationName)%22" />

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="ILRepack" version="2.0.18" targetFramework="net40-client" />
<package id="NHunspell" version="1.2.5554.16953" targetFramework="net40-Client" />
<package id="ILRepack" version="2.0.18" targetFramework="net462" />
<package id="NHunspell" version="1.2.5554.16953" targetFramework="net462" />
</packages>