Skip to content

Commit ada4e79

Browse files
committed
Update nuget packages and generate nuget package on build
1 parent ed5a4b8 commit ada4e79

File tree

3 files changed

+46
-23
lines changed

3 files changed

+46
-23
lines changed

xunit.runner.wpf/packages.config

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="CommonServiceLocator" version="1.3" targetFramework="net452" />
4-
<package id="MvvmLight" version="5.1.1.0" targetFramework="net452" />
5-
<package id="MvvmLightLibs" version="5.1.1.0" targetFramework="net452" />
6-
<package id="System.Collections" version="4.0.0" targetFramework="net46" />
4+
<package id="MvvmLight" version="5.3.0.0" targetFramework="net46" />
5+
<package id="MvvmLightLibs" version="5.3.0.0" targetFramework="net46" />
6+
<package id="NuGet.CommandLine" version="3.4.3" targetFramework="net46" developmentDependency="true" />
7+
<package id="System.Collections" version="4.0.10" targetFramework="net46" />
78
<package id="System.Collections.Immutable" version="1.1.37" targetFramework="net452" />
8-
<package id="System.Diagnostics.Debug" version="4.0.0" targetFramework="net46" />
9-
<package id="System.Globalization" version="4.0.0" targetFramework="net46" />
9+
<package id="System.Diagnostics.Debug" version="4.0.10" targetFramework="net46" />
10+
<package id="System.Globalization" version="4.0.10" targetFramework="net46" />
1011
<package id="System.Linq" version="4.0.0" targetFramework="net46" />
1112
<package id="System.Resources.ResourceManager" version="4.0.0" targetFramework="net46" />
12-
<package id="System.Runtime" version="4.0.0" targetFramework="net46" />
13-
<package id="System.Runtime.Extensions" version="4.0.0" targetFramework="net46" />
14-
<package id="System.Threading" version="4.0.0" targetFramework="net46" />
15-
<package id="WindowsAPICodePack-Core" version="1.1.1" targetFramework="net46" />
13+
<package id="System.Runtime" version="4.0.20" targetFramework="net46" />
14+
<package id="System.Runtime.Extensions" version="4.0.10" targetFramework="net46" />
15+
<package id="System.Threading" version="4.0.10" targetFramework="net46" />
16+
<package id="WindowsAPICodePack-Core" version="1.1.2" targetFramework="net46" />
1617
<package id="WindowsAPICodePack-Shell" version="1.1.1" targetFramework="net46" />
1718
<package id="xunit.abstractions" version="2.0.0" targetFramework="net452" />
1819
<package id="xunit.runner.utility" version="2.1.0" targetFramework="net46" />

xunit.runner.wpf/xunit.runner.wpf.csproj

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -41,24 +41,24 @@
4141
<ApplicationIcon>Artwork\Application.ico</ApplicationIcon>
4242
</PropertyGroup>
4343
<ItemGroup>
44-
<Reference Include="GalaSoft.MvvmLight, Version=5.1.1.35049, Culture=neutral, PublicKeyToken=e7570ab207bcb616, processorArchitecture=MSIL">
45-
<HintPath>..\packages\MvvmLightLibs.5.1.1.0\lib\net45\GalaSoft.MvvmLight.dll</HintPath>
44+
<Reference Include="GalaSoft.MvvmLight, Version=5.3.0.19026, Culture=neutral, PublicKeyToken=e7570ab207bcb616, processorArchitecture=MSIL">
45+
<HintPath>..\packages\MvvmLightLibs.5.3.0.0\lib\net45\GalaSoft.MvvmLight.dll</HintPath>
4646
<Private>True</Private>
4747
</Reference>
48-
<Reference Include="GalaSoft.MvvmLight.Extras, Version=5.1.1.35049, Culture=neutral, PublicKeyToken=669f0b5e8f868abf, processorArchitecture=MSIL">
49-
<HintPath>..\packages\MvvmLightLibs.5.1.1.0\lib\net45\GalaSoft.MvvmLight.Extras.dll</HintPath>
48+
<Reference Include="GalaSoft.MvvmLight.Extras, Version=5.3.0.19032, Culture=neutral, PublicKeyToken=669f0b5e8f868abf, processorArchitecture=MSIL">
49+
<HintPath>..\packages\MvvmLightLibs.5.3.0.0\lib\net45\GalaSoft.MvvmLight.Extras.dll</HintPath>
5050
<Private>True</Private>
5151
</Reference>
52-
<Reference Include="GalaSoft.MvvmLight.Platform, Version=5.1.1.35053, Culture=neutral, PublicKeyToken=5f873c45e98af8a1, processorArchitecture=MSIL">
53-
<HintPath>..\packages\MvvmLightLibs.5.1.1.0\lib\net45\GalaSoft.MvvmLight.Platform.dll</HintPath>
52+
<Reference Include="GalaSoft.MvvmLight.Platform, Version=5.3.0.19032, Culture=neutral, PublicKeyToken=5f873c45e98af8a1, processorArchitecture=MSIL">
53+
<HintPath>..\packages\MvvmLightLibs.5.3.0.0\lib\net45\GalaSoft.MvvmLight.Platform.dll</HintPath>
5454
<Private>True</Private>
5555
</Reference>
5656
<Reference Include="Microsoft.Practices.ServiceLocation, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
5757
<HintPath>..\packages\CommonServiceLocator.1.3\lib\portable-net4+sl5+netcore45+wpa81+wp8\Microsoft.Practices.ServiceLocation.dll</HintPath>
5858
<Private>True</Private>
5959
</Reference>
60-
<Reference Include="Microsoft.WindowsAPICodePack, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
61-
<HintPath>..\packages\WindowsAPICodePack-Core.1.1.1\lib\Microsoft.WindowsAPICodePack.dll</HintPath>
60+
<Reference Include="Microsoft.WindowsAPICodePack, Version=1.1.2.0, Culture=neutral, processorArchitecture=MSIL">
61+
<HintPath>..\packages\WindowsAPICodePack-Core.1.1.2\lib\Microsoft.WindowsAPICodePack.dll</HintPath>
6262
<Private>True</Private>
6363
</Reference>
6464
<Reference Include="Microsoft.WindowsAPICodePack.Shell, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
@@ -72,7 +72,7 @@
7272
</Reference>
7373
<Reference Include="System.Data" />
7474
<Reference Include="System.Windows.Interactivity, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
75-
<HintPath>..\packages\MvvmLightLibs.5.1.1.0\lib\net45\System.Windows.Interactivity.dll</HintPath>
75+
<HintPath>..\packages\MvvmLightLibs.5.3.0.0\lib\net45\System.Windows.Interactivity.dll</HintPath>
7676
<Private>True</Private>
7777
</Reference>
7878
<Reference Include="System.Xml" />
@@ -154,6 +154,9 @@
154154
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
155155
</None>
156156
<AppDesigner Include="Properties\" />
157+
<None Include="xunit.runner.wpf.nuspec">
158+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
159+
</None>
157160
</ItemGroup>
158161
<ItemGroup>
159162
<None Include="App.config" />
@@ -195,11 +198,9 @@
195198
<Resource Include="Artwork\Application.ico" />
196199
</ItemGroup>
197200
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
198-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
199-
Other similar extension points exist, see Microsoft.Common.targets.
200-
<Target Name="BeforeBuild">
201-
</Target>
202201
<Target Name="AfterBuild">
202+
<Exec Command="&quot;$(SolutionDir)packages\NuGet.CommandLine.3.4.3\tools\NuGet.exe&quot; pack xunit.runner.wpf.nuspec -NoPackageAnalysis -OutputDirectory ." WorkingDirectory="$(OutDir)" LogStandardErrorAsError="true" ConsoleToMSBuild="true">
203+
<Output TaskParameter="ConsoleOutput" PropertyName="OutputOfExec" />
204+
</Exec>
203205
</Target>
204-
-->
205206
</Project>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0"?>
2+
<package >
3+
<metadata>
4+
<id>xUnit.Runner.WPF</id>
5+
<version>1.0.0</version>
6+
<title>xUnit.Runner.WPF</title>
7+
<authors>Pilchie</authors>
8+
<owners>Pilchie</owners>
9+
<projectUrl>https://github.com/Pilchie/xunit.runner.wpf</projectUrl>
10+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
11+
<description>XUnit Gui written in WPF</description>
12+
<releaseNotes>Summary of changes made in this release of the package.</releaseNotes>
13+
<copyright>Copyright 2016</copyright>
14+
<tags>XUnit Gui test runner</tags>
15+
</metadata>
16+
<files>
17+
<file src="*.dll" target="tools\"/>
18+
<file src="*.exe" target="tools\" exclude="*vshost*"/>
19+
<file src="*.config" target="tools\" exclude="*vshost*"/>
20+
</files>
21+
</package>

0 commit comments

Comments
 (0)