From aa642cc63e659d5ecbd362232396eacb139e7f88 Mon Sep 17 00:00:00 2001 From: Dakota Hawkins Date: Tue, 5 May 2015 15:54:08 -0400 Subject: [PATCH] coapp.powershell issue #104, make sure path being prepended to PATH environment variable ends with a semicolon. --- clrplus/Scripting.MsBuild/Packaging/ProjectPlus.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/clrplus/Scripting.MsBuild/Packaging/ProjectPlus.cs b/clrplus/Scripting.MsBuild/Packaging/ProjectPlus.cs index 117d096..5f9e558 100644 --- a/clrplus/Scripting.MsBuild/Packaging/ProjectPlus.cs +++ b/clrplus/Scripting.MsBuild/Packaging/ProjectPlus.cs @@ -636,7 +636,10 @@ internal ListWithAction BuildTimePath(string condition) { } return _buildTimePaths.GetOrAdd(condition, () => new ListWithAction(path => { - + if (!path.EndsWith(";")) { + path += ";"; + } + var tsk = ((ProjectTargetElement)SecondInitTarget).AddTask("SetEnv"); tsk.Condition = Pivots.GetMSBuildCondition(Name, condition);