aboutsummaryrefslogtreecommitdiff
path: root/src/dotnet-wix/dotnet-wix.csproj
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotnet-wix/dotnet-wix.csproj')
-rw-r--r--src/dotnet-wix/dotnet-wix.csproj28
1 files changed, 28 insertions, 0 deletions
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>