aboutsummaryrefslogtreecommitdiff
path: root/src/dotnet-wix
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2018-07-21 07:36:34 -0700
committerRob Mensching <rob@firegiant.com>2018-07-21 07:36:34 -0700
commit306f1d0c528cb6c151594ff96a41b5c01a5c4d9b (patch)
tree95deb0884b59decc082eae7adf5d65d45c5f3848 /src/dotnet-wix
parent6fc54af07b10742e883f3a39ef0114e55e6a36a0 (diff)
downloadwix-306f1d0c528cb6c151594ff96a41b5c01a5c4d9b.tar.gz
wix-306f1d0c528cb6c151594ff96a41b5c01a5c4d9b.tar.bz2
wix-306f1d0c528cb6c151594ff96a41b5c01a5c4d9b.zip
Integrate tools from Core project
Diffstat (limited to 'src/dotnet-wix')
-rw-r--r--src/dotnet-wix/DotnetToolSettings.xml6
-rw-r--r--src/dotnet-wix/dotnet-wix.csproj28
-rw-r--r--src/dotnet-wix/dotnet-wix.nuspec24
3 files changed, 58 insertions, 0 deletions
diff --git a/src/dotnet-wix/DotnetToolSettings.xml b/src/dotnet-wix/DotnetToolSettings.xml
new file mode 100644
index 00000000..a7a87fb2
--- /dev/null
+++ b/src/dotnet-wix/DotnetToolSettings.xml
@@ -0,0 +1,6 @@
1<?xml version="1.0" encoding="utf-8"?>
2<DotNetCliTool Version="1">
3 <Commands>
4 <Command Name="wix" EntryPoint="wix.dll" Runner="dotnet" />
5 </Commands>
6</DotNetCliTool> \ No newline at end of file
diff --git a/src/dotnet-wix/dotnet-wix.csproj b/src/dotnet-wix/dotnet-wix.csproj
new file mode 100644
index 00000000..08fa9530
--- /dev/null
+++ b/src/dotnet-wix/dotnet-wix.csproj
@@ -0,0 +1,28 @@
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 <IncludeBuildOutput>false</IncludeBuildOutput>
8 <Description>WiX Toolset Command-line interface</Description>
9 <NuspecFile>$(MSBuildThisFileName).nuspec</NuspecFile>
10 <NuspecBasePath>$(OutputPath)publish\dotnet-wix\</NuspecBasePath>
11 <NuspecProperties>Id=$(MSBuildThisFileName);Authors=$(Authors);Copyright=$(Copyright);Description=$(Description)</NuspecProperties>
12 </PropertyGroup>
13
14 <ItemGroup>
15 <PackageReference Include="Nerdbank.GitVersioning" Version="2.1.65" PrivateAssets="All" />
16 </ItemGroup>
17
18 <PropertyGroup>
19 <GenerateNuspecDependsOn>$(GenerateNuspecDependsOn);SetNuspecVersion</GenerateNuspecDependsOn>
20 </PropertyGroup>
21 <Target Name="SetNuspecVersion">
22 <Error Text="Cannot pack $(MSBuildThisFileName) until all projects are published to: '$(NuspecBasePath)'. Run appveyor.cmd to publish projects properly." Condition=" !Exists('$(NuspecBasePath)') " />
23
24 <PropertyGroup>
25 <NuspecProperties>$(NuspecProperties);Version=$(Version);ProjectFolder=$(MSBuildThisFileDirectory)</NuspecProperties>
26 </PropertyGroup>
27 </Target>
28</Project>
diff --git a/src/dotnet-wix/dotnet-wix.nuspec b/src/dotnet-wix/dotnet-wix.nuspec
new file mode 100644
index 00000000..53a8dc9e
--- /dev/null
+++ b/src/dotnet-wix/dotnet-wix.nuspec
@@ -0,0 +1,24 @@
1<?xml version="1.0" encoding="utf-8"?>
2<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
3 <metadata>
4 <id>$id$</id>
5 <version>$version$</version>
6 <authors>$authors$</authors>
7 <owners>$authors$</owners>
8 <requireLicenseAcceptance>false</requireLicenseAcceptance>
9 <description>$description$</description>
10 <copyright>$copyright$</copyright>
11 <packageTypes>
12 <packageType name="DotnetTool" />
13 </packageTypes>
14 <dependencies>
15 <group targetFramework=".NETCoreApp2.1" />
16 </dependencies>
17 </metadata>
18
19 <files>
20 <file src="$projectFolder$DotnetToolSettings.xml" target="tools\netcoreapp2.1\any" />
21 <file src="**" target="tools\netcoreapp2.1\any" />
22 <file src="runtimes\win-x86\native\*.exe" target="tools\netcoreapp2.1\any" />
23 </files>
24</package>