From d8b51cc3a83358cd6028b19e4175eecd891b8f1c Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Mon, 23 Feb 2009 10:38:25 +0000 Subject: * This should fix the 'Solution Folder' annoyance on express versions. --- Prebuild/src/Core/Targets/VSGenericTarget.cs | 5 ++++- bin/Prebuild.exe | Bin 237568 -> 237568 bytes 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Prebuild/src/Core/Targets/VSGenericTarget.cs b/Prebuild/src/Core/Targets/VSGenericTarget.cs index 60cc803..84f1df5 100644 --- a/Prebuild/src/Core/Targets/VSGenericTarget.cs +++ b/Prebuild/src/Core/Targets/VSGenericTarget.cs @@ -650,7 +650,10 @@ namespace Prebuild.Core.Targets private void WriteSolutionFiles(SolutionNode solution, StreamWriter ss) { - WriteProject(ss, "Folder", solution.Guid, "Solution Files", "Solution Files", solution.Files); + if (solution.Files != null && solution.Files.Count > 0) + { + WriteProject(ss, "Folder", solution.Guid, "Solution Files", "Solution Files", solution.Files); + } } private void WriteEmbeddedSolution(StreamWriter writer, SolutionNode embeddedSolution) diff --git a/bin/Prebuild.exe b/bin/Prebuild.exe index 51c6213..39d8af8 100755 Binary files a/bin/Prebuild.exe and b/bin/Prebuild.exe differ -- cgit v1.1