diff options
Diffstat (limited to '')
-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) |