diff options
Diffstat (limited to 'src/WixToolset.MSBuild/Sdk')
| -rw-r--r-- | src/WixToolset.MSBuild/Sdk/Sdk.props | 22 | ||||
| -rw-r--r-- | src/WixToolset.MSBuild/Sdk/Sdk.targets | 15 |
2 files changed, 37 insertions, 0 deletions
diff --git a/src/WixToolset.MSBuild/Sdk/Sdk.props b/src/WixToolset.MSBuild/Sdk/Sdk.props new file mode 100644 index 00000000..acbe994c --- /dev/null +++ b/src/WixToolset.MSBuild/Sdk/Sdk.props | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
| 2 | |||
| 3 | <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0"> | ||
| 4 | <PropertyGroup> | ||
| 5 | <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects> | ||
| 6 | </PropertyGroup> | ||
| 7 | |||
| 8 | <PropertyGroup> | ||
| 9 | <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\tools\wix.targets'))</WixTargetsPath> | ||
| 10 | </PropertyGroup> | ||
| 11 | |||
| 12 | <PropertyGroup> | ||
| 13 | <EnableDefaultItems Condition=" '$(EnableDefaultItems)' == '' ">true</EnableDefaultItems> | ||
| 14 | <EnableDefaultCompileItems Condition=" '$(EnableDefaultCompileItems)' == '' ">true</EnableDefaultCompileItems> | ||
| 15 | <EnableDefaultEmbeddedResourceItems Condition=" '$(EnableDefaultEmbeddedResourceItems)' == '' ">true</EnableDefaultEmbeddedResourceItems> | ||
| 16 | </PropertyGroup> | ||
| 17 | |||
| 18 | <ItemGroup Condition=" '$(EnableDefaultItems)' == 'true' "> | ||
| 19 | <Compile Include="**/*.wxs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" Condition=" '$(EnableDefaultCompileItems)' == 'true' " /> | ||
| 20 | <EmbeddedResource Include="**/*.wxl" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" Condition=" '$(EnableDefaultEmbeddedResourceItems)' == 'true' " /> | ||
| 21 | </ItemGroup> | ||
| 22 | </Project> | ||
diff --git a/src/WixToolset.MSBuild/Sdk/Sdk.targets b/src/WixToolset.MSBuild/Sdk/Sdk.targets new file mode 100644 index 00000000..e21cf5c6 --- /dev/null +++ b/src/WixToolset.MSBuild/Sdk/Sdk.targets | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
| 2 | |||
| 3 | <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0"> | ||
| 4 | <PropertyGroup> | ||
| 5 | <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects> | ||
| 6 | </PropertyGroup> | ||
| 7 | |||
| 8 | <Import Project="$(WixTargetsPath)" Condition=" '$(WixTargetsPath)' != '' and Exists('$(WixTargetsPath)')" /> | ||
| 9 | |||
| 10 | <PropertyGroup> | ||
| 11 | <DefaultItemExcludes Condition=" '$(BaseOutputPath)' != '' ">$(DefaultItemExcludes);$(BaseOutputPath)**</DefaultItemExcludes> | ||
| 12 | <DefaultItemExcludes Condition=" '$(BaseIntermediateOutputPath)' != '' ">$(DefaultItemExcludes);$(BaseIntermediateOutputPath)**</DefaultItemExcludes> | ||
| 13 | <DefaultExcludesInProjectFolder>$(DefaultItemExcludesInProjectFolder);**/.*/**</DefaultExcludesInProjectFolder> | ||
| 14 | </PropertyGroup> | ||
| 15 | </Project> | ||
