diff options
author | Rob Mensching <rob@firegiant.com> | 2018-07-13 15:08:27 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2018-07-13 15:08:27 -0700 |
commit | 06835732a8e6e9d18d548fbb4487bcaf5c8e1725 (patch) | |
tree | c10530de5d650115326d68cdd5f016a6a91c9097 /src/test/WixToolsetTest.BuildTasks/TestData/SimpleMsiPackage/MsiPackage/MsiPackage.wixproj | |
parent | 6b9b24f21f3a9273b0b1b1000a05ba732fcf301f (diff) | |
download | wix-06835732a8e6e9d18d548fbb4487bcaf5c8e1725.tar.gz wix-06835732a8e6e9d18d548fbb4487bcaf5c8e1725.tar.bz2 wix-06835732a8e6e9d18d548fbb4487bcaf5c8e1725.zip |
Fix MSBuild handling of cultures plus add unit tests
Fixes #5847
Diffstat (limited to 'src/test/WixToolsetTest.BuildTasks/TestData/SimpleMsiPackage/MsiPackage/MsiPackage.wixproj')
-rw-r--r-- | src/test/WixToolsetTest.BuildTasks/TestData/SimpleMsiPackage/MsiPackage/MsiPackage.wixproj | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.BuildTasks/TestData/SimpleMsiPackage/MsiPackage/MsiPackage.wixproj b/src/test/WixToolsetTest.BuildTasks/TestData/SimpleMsiPackage/MsiPackage/MsiPackage.wixproj new file mode 100644 index 00000000..31c3ec9c --- /dev/null +++ b/src/test/WixToolsetTest.BuildTasks/TestData/SimpleMsiPackage/MsiPackage/MsiPackage.wixproj | |||
@@ -0,0 +1,55 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup> | ||
4 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
5 | <Platform Condition=" '$(Platform)' == '' ">x86</Platform> | ||
6 | <ProductVersion>0.9</ProductVersion> | ||
7 | <ProjectGuid>7fb77005-c6e0-454f-8c2d-0a4a79c918ba</ProjectGuid> | ||
8 | <OutputName>MsiPackage</OutputName> | ||
9 | <OutputType>Package</OutputType> | ||
10 | <Name>MsiPackage</Name> | ||
11 | <RootNamespace>MsiPackage</RootNamespace> | ||
12 | </PropertyGroup> | ||
13 | |||
14 | <PropertyGroup> | ||
15 | <WixTargetsPath>..\..\..\..\..\..\build\Release\publish\wix.targets</WixTargetsPath> | ||
16 | </PropertyGroup> | ||
17 | |||
18 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> | ||
19 | <PlatformName>$(Platform)</PlatformName> | ||
20 | <OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath> | ||
21 | <DefineConstants>Debug</DefineConstants> | ||
22 | </PropertyGroup> | ||
23 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> | ||
24 | <PlatformName>$(Platform)</PlatformName> | ||
25 | <OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath> | ||
26 | </PropertyGroup> | ||
27 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' "> | ||
28 | <PlatformName>$(Platform)</PlatformName> | ||
29 | <OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath> | ||
30 | <DefineConstants>Debug</DefineConstants> | ||
31 | </PropertyGroup> | ||
32 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' "> | ||
33 | <PlatformName>$(Platform)</PlatformName> | ||
34 | <OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath> | ||
35 | </PropertyGroup> | ||
36 | |||
37 | <ItemGroup> | ||
38 | <Compile Include="Package.wxs" /> | ||
39 | <Compile Include="PackageComponents.wxs" /> | ||
40 | </ItemGroup> | ||
41 | |||
42 | <ItemGroup> | ||
43 | <EmbeddedResource Include="Package.en-us.wxl" /> | ||
44 | </ItemGroup> | ||
45 | |||
46 | <ItemGroup> | ||
47 | <BindInputPaths Include="data" /> | ||
48 | </ItemGroup> | ||
49 | |||
50 | <Import Project="$(WixTargetsPath)" Condition=" '$(WixTargetsPath)' != '' " /> | ||
51 | <Import Project="$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\wix.targets" Condition=" '$(WixTargetsPath)' == '' AND Exists('$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\wix.targets') " /> | ||
52 | <Target Name="EnsureWixToolsetInstalled" Condition=" '$(WixTargetsImported)' != 'true' "> | ||
53 | <Error Text="WiX Toolset build tools (v3.11 or later) must be installed to build this project. To download the WiX Toolset, go to http://wixtoolset.org/releases/." /> | ||
54 | </Target> | ||
55 | </Project> \ No newline at end of file | ||