-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
VSIX-38: VS 2022 upgrade
- Loading branch information
Showing
23 changed files
with
886 additions
and
868 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
namespace Lombiq.Vsix.Orchard.Constants | ||
namespace Lombiq.Vsix.Orchard.Constants | ||
{ | ||
internal static class ExtensionVersion | ||
{ | ||
public const string Current = "1.5.4"; | ||
public const string Current = "1.5.40"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
namespace EnvDTE | ||
{ | ||
public static class DteExtensions | ||
{ | ||
public static bool SolutionIsOpen(this DTE dte) => dte.Solution.IsOpen; | ||
} | ||
} | ||
namespace EnvDTE | ||
{ | ||
public static class DteExtensions | ||
{ | ||
public static bool SolutionIsOpen(this DTE dte) | ||
{ | ||
// We should never get an exception here. This is just to ensure we access DTE on the main thread and get | ||
// rid of the VSTHRD010 violation. | ||
Microsoft.VisualStudio.Shell.ThreadHelper.ThrowIfNotOnUIThread(); | ||
return dte.Solution.IsOpen; | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
using System.Windows.Forms; | ||
using System.Windows.Forms; | ||
|
||
namespace Lombiq.Vsix.Orchard.Helpers | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.