Skip to content

Commit

Permalink
Replace DTE to DTE2 in Edition and Version variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Reavert committed Oct 8, 2023
1 parent 307d1bf commit 9fdf4da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions VisualStudioDiscordRPC.Shared/Variables/EditionVariable.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using EnvDTE;
using EnvDTE80;

namespace VisualStudioDiscordRPC.Shared.Variables
{
public class EditionVariable : Variable
{
private readonly string _edition;

public EditionVariable(DTE dte)
public EditionVariable(DTE2 dte)
{
Microsoft.VisualStudio.Shell.ThreadHelper.ThrowIfNotOnUIThread();
_edition = dte.Edition;
Expand Down
4 changes: 2 additions & 2 deletions VisualStudioDiscordRPC.Shared/Variables/VersionVariable.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using EnvDTE;
using EnvDTE80;
using VisualStudioDiscordRPC.Shared.Utils;

namespace VisualStudioDiscordRPC.Shared.Variables
Expand All @@ -7,7 +7,7 @@ public class VersionVariable : Variable
{
private readonly string _version;

public VersionVariable(DTE dte)
public VersionVariable(DTE2 dte)
{
Microsoft.VisualStudio.Shell.ThreadHelper.ThrowIfNotOnUIThread();
_version = dte.Version;
Expand Down

0 comments on commit 9fdf4da

Please sign in to comment.