aboutsummaryrefslogtreecommitdiff
path: root/src/dtf
diff options
context:
space:
mode:
Diffstat (limited to 'src/dtf')
-rw-r--r--src/dtf/WixToolset.Dtf.CustomAction/WixToolset.Dtf.CustomAction.targets8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/dtf/WixToolset.Dtf.CustomAction/WixToolset.Dtf.CustomAction.targets b/src/dtf/WixToolset.Dtf.CustomAction/WixToolset.Dtf.CustomAction.targets
index 9d63f24c..e83272a2 100644
--- a/src/dtf/WixToolset.Dtf.CustomAction/WixToolset.Dtf.CustomAction.targets
+++ b/src/dtf/WixToolset.Dtf.CustomAction/WixToolset.Dtf.CustomAction.targets
@@ -23,7 +23,10 @@
23 PackCustomAction 23 PackCustomAction
24 24
25 Creates an MSI managed custom action package that includes the custom action assembly, 25 Creates an MSI managed custom action package that includes the custom action assembly,
26 local assembly dependencies, and project content files. 26 local assembly dependencies, and project content files. This target is skipped until the
27 custom action assembly has been built. This prevents the target from running (and failing)
28 during project restore and other scenarios where the project is executed but the assembly
29 build is skipped.
27 30
28 [IN] 31 [IN]
29 @(IntermediateAssembly) - Managed custom action assembly. 32 @(IntermediateAssembly) - Managed custom action assembly.
@@ -36,7 +39,8 @@
36 --> 39 -->
37 <Target Name="PackCustomAction" 40 <Target Name="PackCustomAction"
38 Inputs="@(IntermediateAssembly);@(Content);$(CustomActionContents)" 41 Inputs="@(IntermediateAssembly);@(Content);$(CustomActionContents)"
39 Outputs="$(IntermediateOutputPath)$(TargetCAFileName)"> 42 Outputs="$(IntermediateOutputPath)$(TargetCAFileName)"
43 Condition=" Exists('@(IntermediateAssembly)') ">
40 44
41 <!-- Find all referenced items marked CopyLocal, but exclude non-binary files. --> 45 <!-- Find all referenced items marked CopyLocal, but exclude non-binary files. -->
42 <ItemGroup> 46 <ItemGroup>