This repository was archived by the owner on Jun 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/GitHub.TeamFoundation.14 Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 99using GitHub . Services ;
1010using Microsoft . Win32 ;
1111using Serilog ;
12+ using static System . FormattableString ;
1213
1314namespace GitHub . TeamFoundation
1415{
@@ -18,7 +19,7 @@ internal class RegistryHelper
1819
1920 static RegistryKey OpenGitKey ( string path )
2021 {
21- var keyName = $ "Software\\ Microsoft\\ VisualStudio\\ { MajorVersion } .0\\ TeamFoundation\\ GitSourceControl\\ { path } ";
22+ var keyName = Invariant ( $ "Software\\ Microsoft\\ VisualStudio\\ { MajorVersion } .0\\ TeamFoundation\\ GitSourceControl\\ { path } ") ;
2223 return Registry . CurrentUser . OpenSubKey ( keyName , true ) ;
2324 }
2425
@@ -64,7 +65,7 @@ internal static string PokeTheRegistryForLocalClonePath()
6465 const string MRUKeyPath = "MRUSettingsLocalProjectLocationEntries" ;
6566 internal static string SetDefaultProjectPath ( string path )
6667 {
67- var newProjectDialogKeyPath = $ "Software\\ Microsoft\\ VisualStudio\\ { MajorVersion } .0\\ NewProjectDialog";
68+ var newProjectDialogKeyPath = Invariant ( $ "Software\\ Microsoft\\ VisualStudio\\ { MajorVersion } .0\\ NewProjectDialog") ;
6869
6970 var old = String . Empty ;
7071 try
You can’t perform that action at this time.
0 commit comments