From c83d610e2008abfab622b8200313e4a8b2d56967 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Mon, 2 Oct 2017 00:01:51 -0700 Subject: Automatically add referenced projects' output folder as bind paths --- src/WixToolset.BuildTasks/CreateProjectReferenceDefineConstants.cs | 1 + src/WixToolset.BuildTasks/wix.targets | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/WixToolset.BuildTasks/CreateProjectReferenceDefineConstants.cs b/src/WixToolset.BuildTasks/CreateProjectReferenceDefineConstants.cs index 5eae0850..7cda6b01 100644 --- a/src/WixToolset.BuildTasks/CreateProjectReferenceDefineConstants.cs +++ b/src/WixToolset.BuildTasks/CreateProjectReferenceDefineConstants.cs @@ -145,6 +145,7 @@ namespace WixToolset.BuildTasks { outputItems.Add(new TaskItem(String.Format(CultureInfo.InvariantCulture, "{0}={1}", define.Key, define.Value))); } + this.defineConstants = outputItems.ToArray(); return true; diff --git a/src/WixToolset.BuildTasks/wix.targets b/src/WixToolset.BuildTasks/wix.targets index 4da03c6f..d1373c32 100644 --- a/src/WixToolset.BuildTasks/wix.targets +++ b/src/WixToolset.BuildTasks/wix.targets @@ -793,6 +793,10 @@ + + + +