Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

coapp.powershell issue #104 #106

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion clrplus/Scripting.MsBuild/Packaging/ProjectPlus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,10 @@ internal ListWithAction<string> BuildTimePath(string condition) {
}

return _buildTimePaths.GetOrAdd(condition, () => new ListWithAction<string>(path => {

if (!path.EndsWith(";")) {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just make sure it ends with a ";". Apparently the "Prefix" attribute won't do that for you for some reason.

path += ";";
}

var tsk = ((ProjectTargetElement)SecondInitTarget).AddTask("SetEnv");
tsk.Condition = Pivots.GetMSBuildCondition(Name, condition);

Expand Down