diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2020-11-07 11:30:25 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2020-11-07 13:30:56 -0600 |
| commit | b0cb6432808a687bf18b19e0018bb4287093d02b (patch) | |
| tree | ab87fd8d2707bcb5846755a34b9729ac3341cd13 /src/test/WixToolsetTest.Sdk/TestData | |
| parent | 850bd580f898cf93d7b2d75b556324dd3d37f563 (diff) | |
| download | wix-b0cb6432808a687bf18b19e0018bb4287093d02b.tar.gz wix-b0cb6432808a687bf18b19e0018bb4287093d02b.tar.bz2 wix-b0cb6432808a687bf18b19e0018bb4287093d02b.zip | |
WIXFEAT:5490 - Send MSBuild bin path to heat project harvesting.
Diffstat (limited to 'src/test/WixToolsetTest.Sdk/TestData')
8 files changed, 201 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.Sdk/TestData/HeatProject/HeatProjectPreSdkStyle/HeatProjectPreSdkStyle.wixproj b/src/test/WixToolsetTest.Sdk/TestData/HeatProject/HeatProjectPreSdkStyle/HeatProjectPreSdkStyle.wixproj new file mode 100644 index 00000000..c569e8ac --- /dev/null +++ b/src/test/WixToolsetTest.Sdk/TestData/HeatProject/HeatProjectPreSdkStyle/HeatProjectPreSdkStyle.wixproj | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| 3 | <Import Project="$(WixMSBuildProps)" /> | ||
| 4 | <PropertyGroup> | ||
| 5 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
| 6 | <Platform Condition=" '$(Platform)' == '' ">x86</Platform> | ||
| 7 | </PropertyGroup> | ||
| 8 | |||
| 9 | <PropertyGroup> | ||
| 10 | <ProjectGuid>BB919765-DD69-41E7-91C5-415A69BE923E</ProjectGuid> | ||
| 11 | </PropertyGroup> | ||
| 12 | |||
| 13 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> | ||
| 14 | <PlatformName>$(Platform)</PlatformName> | ||
| 15 | <OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath> | ||
| 16 | <DefineConstants>Debug</DefineConstants> | ||
| 17 | </PropertyGroup> | ||
| 18 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> | ||
| 19 | <PlatformName>$(Platform)</PlatformName> | ||
| 20 | <OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath> | ||
| 21 | </PropertyGroup> | ||
| 22 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' "> | ||
| 23 | <PlatformName>$(Platform)</PlatformName> | ||
| 24 | <OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath> | ||
| 25 | <DefineConstants>Debug</DefineConstants> | ||
| 26 | </PropertyGroup> | ||
| 27 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' "> | ||
| 28 | <PlatformName>$(Platform)</PlatformName> | ||
| 29 | <OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath> | ||
| 30 | </PropertyGroup> | ||
| 31 | |||
| 32 | <ItemGroup> | ||
| 33 | <Compile Include="Package.wxs" /> | ||
| 34 | </ItemGroup> | ||
| 35 | |||
| 36 | <ItemGroup> | ||
| 37 | <BindInputPaths Include="." /> | ||
| 38 | </ItemGroup> | ||
| 39 | |||
| 40 | <PropertyGroup> | ||
| 41 | <EnableProjectHarvesting>true</EnableProjectHarvesting> | ||
| 42 | <HarvestProjectsSuppressUniqueIds>true</HarvestProjectsSuppressUniqueIds> | ||
| 43 | </PropertyGroup> | ||
| 44 | |||
| 45 | <ItemGroup> | ||
| 46 | <ProjectReference Include="..\ToolsVersion4Cs\ToolsVersion4Cs.csproj" /> | ||
| 47 | </ItemGroup> | ||
| 48 | |||
| 49 | <Import Project="$(WixTargetsPath)" /> | ||
| 50 | </Project> \ No newline at end of file | ||
diff --git a/src/test/WixToolsetTest.Sdk/TestData/HeatProject/HeatProjectPreSdkStyle/Package.wxs b/src/test/WixToolsetTest.Sdk/TestData/HeatProject/HeatProjectPreSdkStyle/Package.wxs new file mode 100644 index 00000000..b2988760 --- /dev/null +++ b/src/test/WixToolsetTest.Sdk/TestData/HeatProject/HeatProjectPreSdkStyle/Package.wxs | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 2 | <Package Name="HeatProjectPreSdkStyle" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="5622BB42-89F6-4810-A2A3-98AFF28282FE" Compressed="yes" InstallerVersion="200"> | ||
| 3 | |||
| 4 | |||
| 5 | <MediaTemplate /> | ||
| 6 | |||
| 7 | <Feature Id="ProductFeature" Title="HeatProjectFeature"> | ||
| 8 | <ComponentGroupRef Id="ToolsVersion4Cs.Binaries" /> | ||
| 9 | </Feature> | ||
| 10 | </Package> | ||
| 11 | |||
| 12 | <Fragment> | ||
| 13 | <Directory Id="TARGETDIR" Name="SourceDir"> | ||
| 14 | <Directory Id="ProgramFilesFolder"> | ||
| 15 | <Directory Id="ToolsVersion4Cs.Binaries" Name="MsiPackage" /> | ||
| 16 | </Directory> | ||
| 17 | </Directory> | ||
| 18 | </Fragment> | ||
| 19 | </Wix> | ||
diff --git a/src/test/WixToolsetTest.Sdk/TestData/HeatProject/HeatProjectSdkStyle/HeatProjectSdkStyle.wixproj b/src/test/WixToolsetTest.Sdk/TestData/HeatProject/HeatProjectSdkStyle/HeatProjectSdkStyle.wixproj new file mode 100644 index 00000000..907f0bb0 --- /dev/null +++ b/src/test/WixToolsetTest.Sdk/TestData/HeatProject/HeatProjectSdkStyle/HeatProjectSdkStyle.wixproj | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| 3 | <Import Project="$(WixMSBuildProps)" /> | ||
| 4 | <PropertyGroup> | ||
| 5 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
| 6 | <Platform Condition=" '$(Platform)' == '' ">x86</Platform> | ||
| 7 | </PropertyGroup> | ||
| 8 | |||
| 9 | <PropertyGroup> | ||
| 10 | <ProjectGuid>CE998A54-9BEC-4268-BFA2-8E3DAE5831C8</ProjectGuid> | ||
| 11 | </PropertyGroup> | ||
| 12 | |||
| 13 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> | ||
| 14 | <PlatformName>$(Platform)</PlatformName> | ||
| 15 | <OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath> | ||
| 16 | <DefineConstants>Debug</DefineConstants> | ||
| 17 | </PropertyGroup> | ||
| 18 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> | ||
| 19 | <PlatformName>$(Platform)</PlatformName> | ||
| 20 | <OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath> | ||
| 21 | </PropertyGroup> | ||
| 22 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' "> | ||
| 23 | <PlatformName>$(Platform)</PlatformName> | ||
| 24 | <OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath> | ||
| 25 | <DefineConstants>Debug</DefineConstants> | ||
| 26 | </PropertyGroup> | ||
| 27 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' "> | ||
| 28 | <PlatformName>$(Platform)</PlatformName> | ||
| 29 | <OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath> | ||
| 30 | </PropertyGroup> | ||
| 31 | |||
| 32 | <ItemGroup> | ||
| 33 | <Compile Include="Package.wxs" /> | ||
| 34 | </ItemGroup> | ||
| 35 | |||
| 36 | <ItemGroup> | ||
| 37 | <BindInputPaths Include="." /> | ||
| 38 | </ItemGroup> | ||
| 39 | |||
| 40 | <PropertyGroup> | ||
| 41 | <EnableProjectHarvesting>true</EnableProjectHarvesting> | ||
| 42 | <HarvestProjectsSuppressUniqueIds>true</HarvestProjectsSuppressUniqueIds> | ||
| 43 | </PropertyGroup> | ||
| 44 | |||
| 45 | <ItemGroup> | ||
| 46 | <ProjectReference Include="..\SdkStyleCs\SdkStyleCs.csproj" /> | ||
| 47 | </ItemGroup> | ||
| 48 | |||
| 49 | <Import Project="$(WixTargetsPath)" /> | ||
| 50 | </Project> \ No newline at end of file | ||
diff --git a/src/test/WixToolsetTest.Sdk/TestData/HeatProject/HeatProjectSdkStyle/Package.wxs b/src/test/WixToolsetTest.Sdk/TestData/HeatProject/HeatProjectSdkStyle/Package.wxs new file mode 100644 index 00000000..fc6e9d29 --- /dev/null +++ b/src/test/WixToolsetTest.Sdk/TestData/HeatProject/HeatProjectSdkStyle/Package.wxs | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 2 | <Package Name="HeatProjectSdkStyle" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="D2AF3276-A68E-40DE-85A1-4BCD5B35D432" Compressed="yes" InstallerVersion="200"> | ||
| 3 | |||
| 4 | |||
| 5 | <MediaTemplate /> | ||
| 6 | |||
| 7 | <Feature Id="ProductFeature" Title="HeatProjectFeature"> | ||
| 8 | <ComponentGroupRef Id="SdkStyleCs.Binaries" /> | ||
| 9 | </Feature> | ||
| 10 | </Package> | ||
| 11 | |||
| 12 | <Fragment> | ||
| 13 | <Directory Id="TARGETDIR" Name="SourceDir"> | ||
| 14 | <Directory Id="ProgramFilesFolder"> | ||
| 15 | <Directory Id="SdkStyleCs.Binaries" Name="MsiPackage" /> | ||
| 16 | </Directory> | ||
| 17 | </Directory> | ||
| 18 | </Fragment> | ||
| 19 | </Wix> | ||
diff --git a/src/test/WixToolsetTest.Sdk/TestData/HeatProject/SdkStyleCs/SdkStyleCs.cs b/src/test/WixToolsetTest.Sdk/TestData/HeatProject/SdkStyleCs/SdkStyleCs.cs new file mode 100644 index 00000000..2b2c5be2 --- /dev/null +++ b/src/test/WixToolsetTest.Sdk/TestData/HeatProject/SdkStyleCs/SdkStyleCs.cs | |||
| @@ -0,0 +1,8 @@ | |||
| 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 | namespace SdkStyleCs | ||
| 4 | { | ||
| 5 | public class SdkStyleCs | ||
| 6 | { | ||
| 7 | } | ||
| 8 | } | ||
diff --git a/src/test/WixToolsetTest.Sdk/TestData/HeatProject/SdkStyleCs/SdkStyleCs.csproj b/src/test/WixToolsetTest.Sdk/TestData/HeatProject/SdkStyleCs/SdkStyleCs.csproj new file mode 100644 index 00000000..755976bc --- /dev/null +++ b/src/test/WixToolsetTest.Sdk/TestData/HeatProject/SdkStyleCs/SdkStyleCs.csproj | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <!-- 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. --> | ||
| 3 | |||
| 4 | <Project Sdk="Microsoft.NET.Sdk"> | ||
| 5 | <PropertyGroup> | ||
| 6 | <TargetFramework>netstandard2.0</TargetFramework> | ||
| 7 | </PropertyGroup> | ||
| 8 | </Project> | ||
diff --git a/src/test/WixToolsetTest.Sdk/TestData/HeatProject/ToolsVersion4Cs/Properties/AssemblyInfo.cs b/src/test/WixToolsetTest.Sdk/TestData/HeatProject/ToolsVersion4Cs/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..c29a2303 --- /dev/null +++ b/src/test/WixToolsetTest.Sdk/TestData/HeatProject/ToolsVersion4Cs/Properties/AssemblyInfo.cs | |||
| @@ -0,0 +1,11 @@ | |||
| 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 | using System; | ||
| 4 | using System.Reflection; | ||
| 5 | using System.Runtime.InteropServices; | ||
| 6 | |||
| 7 | [assembly: AssemblyTitle("ToolsVersion4Cs")] | ||
| 8 | [assembly: AssemblyDescription("ToolsVersion4Cs")] | ||
| 9 | [assembly: AssemblyProduct("WiX Toolset")] | ||
| 10 | [assembly: AssemblyCompany("WiX Toolset Team")] | ||
| 11 | [assembly: AssemblyCopyright("Copyright (c) .NET Foundation and contributors. All rights reserved.")] | ||
diff --git a/src/test/WixToolsetTest.Sdk/TestData/HeatProject/ToolsVersion4Cs/ToolsVersion4Cs.csproj b/src/test/WixToolsetTest.Sdk/TestData/HeatProject/ToolsVersion4Cs/ToolsVersion4Cs.csproj new file mode 100644 index 00000000..9c55f7a5 --- /dev/null +++ b/src/test/WixToolsetTest.Sdk/TestData/HeatProject/ToolsVersion4Cs/ToolsVersion4Cs.csproj | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <!-- 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. --> | ||
| 3 | |||
| 4 | |||
| 5 | <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| 6 | <PropertyGroup> | ||
| 7 | <ProjectGuid>{8B19578A-816A-48A1-A6C4-58067334EB79}</ProjectGuid> | ||
| 8 | <AssemblyName>ToolsVersion4Cs</AssemblyName> | ||
| 9 | <OutputType>Library</OutputType> | ||
| 10 | <RootNamespace>ToolsVersion4Cs</RootNamespace> | ||
| 11 | <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> | ||
| 12 | </PropertyGroup> | ||
| 13 | <PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> | ||
| 14 | <DebugSymbols>true</DebugSymbols> | ||
| 15 | <Optimize>false</Optimize> | ||
| 16 | <DefineConstants>$(DefineConstants);DEBUG;TRACE</DefineConstants> | ||
| 17 | <OutputPath>bin\Debug\</OutputPath> | ||
| 18 | </PropertyGroup> | ||
| 19 | <PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | ||
| 20 | <DebugSymbols>true</DebugSymbols> | ||
| 21 | <Optimize>true</Optimize> | ||
| 22 | <DefineConstants>$(DefineConstants);TRACE</DefineConstants> | ||
| 23 | <OutputPath>bin\Release\</OutputPath> | ||
| 24 | </PropertyGroup> | ||
| 25 | <ItemGroup> | ||
| 26 | <Compile Include="Properties\AssemblyInfo.cs" /> | ||
| 27 | </ItemGroup> | ||
| 28 | <ItemGroup> | ||
| 29 | <Reference Include="System" /> | ||
| 30 | <Reference Include="System.Configuration" /> | ||
| 31 | <Reference Include="System.Data" /> | ||
| 32 | <Reference Include="System.Xml" /> | ||
| 33 | </ItemGroup> | ||
| 34 | |||
| 35 | <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | ||
| 36 | </Project> \ No newline at end of file | ||
