File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
using System ;
2
2
using System . Diagnostics ;
3
+ using System . Reflection ;
3
4
using System . Windows ;
4
5
using System . Windows . Input ;
5
6
using WinJump . Core ;
@@ -66,7 +67,7 @@ public class TrayModel {
66
67
} ;
67
68
68
69
public string Version =>
69
- $ "WinJump { FileVersionInfo . GetVersionInfo ( typeof ( TrayModel ) . Assembly . Location ) . FileVersion } ";
70
+ $ "WinJump { Assembly . GetEntryAssembly ( ) ? . GetName ( ) . Version ? . ToString ( ) } ";
70
71
}
71
72
72
73
public class DelegateCommand : ICommand {
Original file line number Diff line number Diff line change 5
5
<TargetFramework >net7.0-windows</TargetFramework >
6
6
<Nullable >enable</Nullable >
7
7
<UseWPF >true</UseWPF >
8
+ <Version >2.0.0</Version >
9
+ <AssemblyVersion >2.0.0</AssemblyVersion >
10
+ <FileVersion >2.0.0</FileVersion >
8
11
</PropertyGroup >
9
12
10
13
<PropertyGroup Condition =" '$(Configuration)' == 'Debug' " >
You can’t perform that action at this time.
0 commit comments