[commit] r1185 - trunk/SDK/DotNet/CSharpComponentWizard

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Wed Feb 16 16:56:34 CST 2011


Author: ksmyth
Date: Wed Feb 16 16:56:34 2011
New Revision: 1185

Log:
Dont try to delete \

Modified:
   trunk/SDK/DotNet/CSharpComponentWizard/SolutionGenerator.cs

Modified: trunk/SDK/DotNet/CSharpComponentWizard/SolutionGenerator.cs
==============================================================================
--- trunk/SDK/DotNet/CSharpComponentWizard/SolutionGenerator.cs	Wed Feb 16 16:56:18 2011	(r1184)
+++ trunk/SDK/DotNet/CSharpComponentWizard/SolutionGenerator.cs	Wed Feb 16 16:56:34 2011	(r1185)
@@ -75,6 +75,8 @@
                 dte = (DTE2)obj;
                 Solution4 sln = (Solution4)dte.Solution;
 
+                if (TargetFolder == null)
+                    throw new NullReferenceException();
                 outputfolder = TargetFolder + @"\" + SolutionName;
                 string solutionName = SolutionName + ".sln";
 


More information about the gme-commit mailing list