Skip to content

Commit dd98e10

Browse files
Move the date to tomorrow now we're ready for release (but don't warn people until we have time to get another release out)
1 parent 9b301f8 commit dd98e10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Vsix/VisualStudioInteraction.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ internal static class VisualStudioInteraction
3939
private static readonly Version LowestSupportedVersion = new(16, 10, 0, 0);
4040
private static readonly Version FullVsVersion = GetFullVsVersion();
4141
private static readonly string Title = "Code converter " + new AssemblyName(typeof(ProjectConversion).Assembly.FullName).Version.ToString(3) + " - Visual Studio " + (FullVsVersion?.ToString() ?? "unknown version");
42-
private static readonly int WeeksUpdatesStoppedFor = (int) (DateTime.Now - new DateTime(2022, 05, 01)).TotalDays / 7;
42+
private static readonly int WeeksUpdatesStoppedFor = (int) (DateTime.Now - new DateTime(2022, 04, 11)).TotalDays / 7;
4343

4444
private static Version GetFullVsVersion()
4545
{
@@ -205,7 +205,7 @@ public static async Task EnsureBuiltAsync(IReadOnlyCollection<Project> projects,
205205

206206
public static string GetUpdateWarningsOrNull()
207207
{
208-
if (FullVsVersion < LowestSupportedVersion && WeeksUpdatesStoppedFor > 0)
208+
if (FullVsVersion < LowestSupportedVersion && WeeksUpdatesStoppedFor > 1)
209209
{
210210
return
211211
$"Deprecated: Code Converter no longer receives updates for Visual Studio {FullVsVersion}. Please update to the latest version of Visual Studio ({LowestSupportedVersion} at minimum).{Environment.NewLine}" +

0 commit comments

Comments
 (0)