Skip to content

Commit

Permalink
Fix versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
kutukvpavel committed Oct 8, 2022
1 parent 33824ed commit cc18fea
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
17 changes: 13 additions & 4 deletions RRGControl/RRGControl.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net5.0</TargetFramework>
Expand All @@ -9,6 +9,15 @@
<ApplicationIcon />
<StartupObject />
</PropertyGroup>
<PropertyGroup>
<Deterministic>False</Deterministic>
</PropertyGroup>
<PropertyGroup>
<Company>MDC</Company>
<Copyright>Copyright Kutukov Pavel © 2022-2023</Copyright>
<ProductVersion>0.3-c</ProductVersion>
<InformationalVersion>0.3-c</InformationalVersion>
</PropertyGroup>
<ItemGroup>
<AvaloniaResource Include="Assets\**" />
<None Remove=".gitignore" />
Expand Down Expand Up @@ -38,8 +47,8 @@
<PackageReference Include="XamlNameReferenceGenerator" Version="1.3.4" />
</ItemGroup>
<ItemGroup>
<Compile Update="Views\Register.axaml.cs">
<DependentUpon>Register.axaml</DependentUpon>
</Compile>
<Compile Update="Views\Register.axaml.cs">
<DependentUpon>Register.axaml</DependentUpon>
</Compile>
</ItemGroup>
</Project>
9 changes: 7 additions & 2 deletions RRGControl/Views/AboutBox.axaml.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using System;
using System.Linq;
using System.Reflection;
using Avalonia.Controls;

namespace RRGControl.Views
Expand All @@ -12,20 +14,23 @@ public AboutBox()
}

private string AboutAuthor => @$"ÐÐÃ series mass flow controller software
Version: {(Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyInformationalVersionAttribute), false)
.FirstOrDefault() as AssemblyInformationalVersionAttribute)?.InformationalVersion}
Kutukov Pavel, 2022-{DateTime.Today.Year}
kutukovps@my.msu.ru
Attributions
Frameworks:
Libraries:
Microsoft .NET Framework
Avalonia UI Framework
Newtonsoft.JSON
ScottPlot
NuGet Packages:
NModbus
MessageBox.Avalonia
NamedPipeWrapper
LLibrary
MoreLinq
Icons:
freepik.com
iconleak.com";
Expand Down

0 comments on commit cc18fea

Please sign in to comment.