forked from VsVim/VsVim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vs2013 now builds fully without Vs2013 installed
- Loading branch information
Showing
22 changed files
with
1,547 additions
and
54 deletions.
There are no files selected for viewing
Binary file added
BIN
+837 KB
References/Vs2013/Microsoft.VisualStudio.Platform.WindowManagement.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
using EnvDTE; | ||
|
||
namespace VsVim | ||
{ | ||
public static class Extension | ||
{ | ||
public static VisualStudioVersion GetVisualStudioVersion(this _DTE dte) | ||
{ | ||
var version = dte.Version; | ||
if (string.IsNullOrEmpty(dte.Version)) | ||
{ | ||
return VisualStudioVersion.Unknown; | ||
} | ||
|
||
var parts = version.Split('.'); | ||
if (parts.Length == 0) | ||
{ | ||
return VisualStudioVersion.Unknown; | ||
} | ||
|
||
switch (parts[0]) | ||
{ | ||
case "10": | ||
return VisualStudioVersion.Vs2010; | ||
case "11": | ||
return VisualStudioVersion.Vs2012; | ||
case "12": | ||
return VisualStudioVersion.Vs2013; | ||
default: | ||
return VisualStudioVersion.Unknown; | ||
} | ||
} | ||
} | ||
} |
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
5 changes: 1 addition & 4 deletions
5
...redService/DefaultSharedServiceFactory.cs → ...redService/DefaultSharedServiceFactory.cs
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
| ||
namespace VsVim | ||
{ | ||
/// <summary> | ||
/// Known Visual Studio versions | ||
/// </summary> | ||
public enum VisualStudioVersion | ||
{ | ||
Vs2010, | ||
Vs2012, | ||
Vs2013, | ||
Unknown | ||
} | ||
} |
Oops, something went wrong.