diff options
Diffstat (limited to 'main/msbuild/MDBuildTasks.targets')
-rw-r--r-- | main/msbuild/MDBuildTasks.targets | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/main/msbuild/MDBuildTasks.targets b/main/msbuild/MDBuildTasks.targets index ca6ed1b452..faf486c98d 100644 --- a/main/msbuild/MDBuildTasks.targets +++ b/main/msbuild/MDBuildTasks.targets @@ -112,7 +112,10 @@ BeforeTargets="SplitResourcesByCulture" DependsOnTargets="_DownloadNupkgGatherOutput;_CollectExtensionOutputFiles;_GenerateExtensionContentManifest" /> - <Target Name="_CollectExtensionOutputFiles"> + <Target + Name="_CollectExtensionOutputFiles" + Condition="'@(ExtensionContent)' != ''" + > <!--declare this here instead of toplevel so that IntermediateOutputPath has a value w/SDK style projects--> <PropertyGroup> <_ExtensionContentManifest>$(IntermediateOutputPath)_Manifest.addin.xml</_ExtensionContentManifest> |