Skip to content

Commit

Permalink
fix version for demo app
Browse files Browse the repository at this point in the history
  • Loading branch information
Mixaill committed May 12, 2021
1 parent 48cfed8 commit f8eeb8f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions Mixaill.HwInfoSetupApi.Demo/Mixaill.HwInfo.SetupApi.Demo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<StartupObject>Mixaill.SetupApi.Demo.Program</StartupObject>
<Version>0.3.0</Version>
<Authors>Mikhail Paulyshka</Authors>
<Company>Mikhail Paulyshka</Company>
<Copyright>2021, Mikhail Paulyshka</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/Mixaill/Mixaill.HwInfo</PackageProjectUrl>
<RepositoryUrl>https://github.com/Mixaill/Mixaill.HwInfo.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Mixaill.HwInfoSetupApi.Demo/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SPDX-License-Identifier: MIT

using System;

using System.Reflection;
using Mixaill.SetupApi.Defines;

namespace Mixaill.SetupApi.Demo
Expand All @@ -11,7 +11,7 @@ class Program
{
static void Main(string[] args)
{
Console.WriteLine("Mixaill.SetupApi.Demo v0.2\n\n");
Console.WriteLine($"Mixaill.SetupApi.Demo v{Assembly.GetEntryAssembly().GetName().Version}\n\n");

var deviceInfoSet = new DeviceInfoSet(DeviceClassGuid.Display);

Expand Down

0 comments on commit f8eeb8f

Please sign in to comment.