We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f60bc02 commit aed7d98Copy full SHA for aed7d98
VisualStudioSolutionSecrets/Commands/PushCommand.cs
@@ -46,7 +46,7 @@ public async Task<int> OnExecute()
46
{
47
var headerFile = new HeaderFile
48
49
- visualStudioSolutionSecretsVersion = Versions.VersionString!,
+ visualStudioSolutionSecretsVersion = Versions.CurrentVersion.ToString(),
50
lastUpload = DateTime.UtcNow,
51
solutionFile = solution.Name,
52
solutionGuid = solution.Uid
VisualStudioSolutionSecrets/Versions.cs
@@ -19,7 +19,7 @@ public static class Versions
19
20
public static string? VersionString { get; }
21
public static string? CommitHash { get; }
22
- public static Version? CurrentVersion { get; }
+ public static Version CurrentVersion { get; }
23
24
25
static Versions()
0 commit comments