diff options
author | lbsa71 | 2009-02-23 10:38:25 +0000 |
---|---|---|
committer | lbsa71 | 2009-02-23 10:38:25 +0000 |
commit | d8b51cc3a83358cd6028b19e4175eecd891b8f1c (patch) | |
tree | 98324acef6153b63beba151430f213f67ee5f31e /Prebuild/src | |
parent | Update svn properties, add copyright headers, minor formatting cleanup. (diff) | |
download | opensim-SC_OLD-d8b51cc3a83358cd6028b19e4175eecd891b8f1c.zip opensim-SC_OLD-d8b51cc3a83358cd6028b19e4175eecd891b8f1c.tar.gz opensim-SC_OLD-d8b51cc3a83358cd6028b19e4175eecd891b8f1c.tar.bz2 opensim-SC_OLD-d8b51cc3a83358cd6028b19e4175eecd891b8f1c.tar.xz |
* This should fix the 'Solution Folder' annoyance on express versions.
Diffstat (limited to 'Prebuild/src')
-rw-r--r-- | Prebuild/src/Core/Targets/VSGenericTarget.cs | 5 |
1 files changed, 4 insertions, 1 deletions
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 | |||
650 | 650 | ||
651 | private void WriteSolutionFiles(SolutionNode solution, StreamWriter ss) | 651 | private void WriteSolutionFiles(SolutionNode solution, StreamWriter ss) |
652 | { | 652 | { |
653 | WriteProject(ss, "Folder", solution.Guid, "Solution Files", "Solution Files", solution.Files); | 653 | if (solution.Files != null && solution.Files.Count > 0) |
654 | { | ||
655 | WriteProject(ss, "Folder", solution.Guid, "Solution Files", "Solution Files", solution.Files); | ||
656 | } | ||
654 | } | 657 | } |
655 | 658 | ||
656 | private void WriteEmbeddedSolution(StreamWriter writer, SolutionNode embeddedSolution) | 659 | private void WriteEmbeddedSolution(StreamWriter writer, SolutionNode embeddedSolution) |