AppVeyor and NuGet

Fixes AppVeyor and adds NuGet package building.
This commit is contained in:
Phyxion
2018-01-28 10:12:32 +01:00
parent 61ef0aebad
commit 22bd00c806
4 changed files with 27 additions and 20 deletions
+12 -5
View File
@@ -10,7 +10,14 @@
<OutputTypeEx>Library</OutputTypeEx>
<RuntimeIdentifiers>win</RuntimeIdentifiers>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<Authors>Libre Hardware Monitor contributors, Michael Möller</Authors>
<PackageId>LibreHardwareMonitorLib</PackageId>
<PackageLicenseUrl>https://github.com/LibreHardwareMonitor/LibreHardwareMonitor</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/LibreHardwareMonitor/LibreHardwareMonitor</PackageProjectUrl>
<PackageTags>libre open hardware monitor monitoring system logging cpu gpu</PackageTags>
<RepositoryUrl>https://github.com/LibreHardwareMonitor/LibreHardwareMonitor</RepositoryUrl>
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net452' ">
@@ -118,10 +125,6 @@
<Folder Include="Properties\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Management" Version="4.5.0-preview1-25914-04" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="Microsoft.Win32.Registry">
<Version>4.5.0-preview1-25914-04</Version>
@@ -130,4 +133,8 @@
<Version>4.4.0</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Management" Version="4.5.0-preview1-25914-04" />
</ItemGroup>
</Project>
+3 -3
View File
@@ -14,11 +14,11 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Open Hardware Monitor Library")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyDescription("Libre Hardware Monitor Library, a fork of Open Hardware Monitor.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Open Hardware Monitor Library")]
[assembly: AssemblyCopyright("Copyright © 2009-2017 Michael Möller")]
[assembly: AssemblyProduct("Libre Hardware Monitor Library")]
[assembly: AssemblyCopyright("Copyright © Libre Hardware Monitor contributors, Michael Möller")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
+1 -1
View File
@@ -11,4 +11,4 @@
using System.Reflection;
[assembly: AssemblyVersion("0.8.0.2")]
[assembly: AssemblyInformationalVersion("0.8.0.2 Alpha")]
[assembly: AssemblyInformationalVersion("0.8.0.2")]
+11 -11
View File
@@ -1,17 +1,17 @@
image: Visual Studio 2015
version: 1.0.{build}
image: Visual Studio 2017
configuration: Release
platform: Any CPU
before_build:
- nuget restore
configuration:
- Release
environment:
matrix:
- solution_name: OpenHardwareMonitor.sln
- ps: nuget restore OpenHardwareMonitor.sln
build:
project: '%solution_name%'
project: OpenHardwareMonitor.sln
verbosity: minimal
artifacts:
- path: 'Bin\Release\'
- path: 'Bin\Release\'