[commit] r2409 - trunk/SDK/DotNet/CSharpComponentWizard
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Tue Dec 31 12:43:08 CST 2013
Author: ksmyth
Date: Tue Dec 31 12:43:08 2013
New Revision: 2409
Log:
CSharpComponentWizard: dont try to open with VS2012 when it is not installed
Modified:
trunk/SDK/DotNet/CSharpComponentWizard/MainWindow.xaml.cs
Modified: trunk/SDK/DotNet/CSharpComponentWizard/MainWindow.xaml.cs
==============================================================================
--- trunk/SDK/DotNet/CSharpComponentWizard/MainWindow.xaml.cs Tue Dec 31 12:42:55 2013 (r2408)
+++ trunk/SDK/DotNet/CSharpComponentWizard/MainWindow.xaml.cs Tue Dec 31 12:43:08 2013 (r2409)
@@ -737,7 +737,8 @@
string DevenvLocation = String.Empty;
RegistryKey masterKey = Registry.LocalMachine.OpenSubKey(MainWindow.VS2012_REGISTRY_KEYPATH);
- if (masterKey == null)
+ // KMS: on my machine, I had HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\11.0\VC\Runtimes\x64 with VS2012 not installed (but no "InstallDir")
+ if (masterKey == null || masterKey.GetValue(MainWindow.VS_INSTALLDIR_KEYNAME) == null)
{
masterKey = Registry.LocalMachine.OpenSubKey(MainWindow.VS2010_REGISTRY_KEYPATH);
}
More information about the gme-commit
mailing list