diff --git a/source2/InstallCleaner/Program.cs b/source2/InstallCleaner/Program.cs
index 7449d627e..fba2213d2 100644
--- a/source2/InstallCleaner/Program.cs
+++ b/source2/InstallCleaner/Program.cs
@@ -13,7 +13,8 @@ namespace InstallCleaner
{
try{
CleanupUserKitInstallDir();
- CleanupOldTemplates_Shell();
+ CleanupOldTemplates_Shell_x86();
+ CleanupOldTemplates_Shell_x64();
CleanupOldTemplates_Express();
} catch(Exception E){
Console.WriteLine(E.ToString());
@@ -25,7 +26,7 @@ namespace InstallCleaner
///
/// Removes any old cosmos templates in "Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplates"
///
- private static void CleanupOldTemplates_Shell()
+ private static void CleanupOldTemplates_Shell_x86()
{
using (var xReg = Registry.LocalMachine.OpenSubKey(@"Software\Microsoft\VisualStudio\9.0", false))
{
@@ -48,6 +49,29 @@ namespace InstallCleaner
}
}
+
+ ///
+ /// Removes any old cosmos templates in "Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplates"
+ ///
+ private static void CleanupOldTemplates_Shell_x64() {
+ //Registry.LocalMachine.
+ using (var xReg = Registry.LocalMachine.OpenSubKey(@"Software\Wow6432\Microsoft\VisualStudio\9.0", false,)) {
+ if (xReg == null) {
+ // shouldn't even happen, but better safe than sorry:
+ return;
+ }
+ var xInstallDir = xReg.GetValue("InstallDir") as string;
+ if (xInstallDir == null) {
+ return;
+ }
+ var xCosmosDir = Path.Combine(xInstallDir, @"ProjectTemplates\Cosmos");
+
+ if (Directory.Exists(xCosmosDir)) {
+ Directory.Delete(xCosmosDir, true);
+ }
+ }
+ }
+
///
/// Removes any old cosmos templates in user template directories, most likely in My Documents. Implement for each language.
///
diff --git a/source2/Users/Kudzu/Breakpoints/Breakpoints.cgdb b/source2/Users/Kudzu/Breakpoints/Breakpoints.cgdb
index 953dccb20..3db927fce 100644
--- a/source2/Users/Kudzu/Breakpoints/Breakpoints.cgdb
+++ b/source2/Users/Kudzu/Breakpoints/Breakpoints.cgdb
@@ -1,10 +1,7 @@
-
-
-
-
+
FormCallStack