blob: 041cccc819fd42264ed1865b27dbb1d1df1ea557 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
<?xml version="1.0" encoding="utf-8"?>
<!-- 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. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<IncludeBuildOutput>false</IncludeBuildOutput>
<Description>WiX Toolset MSBuild integration</Description>
<NuspecFile>$(MSBuildThisFileName).nuspec</NuspecFile>
<NuspecBasePath>$(OutputPath)publish\WixToolset.Sdk\</NuspecBasePath>
<NuspecProperties>Id=$(MSBuildThisFileName);Authors=$(Authors);Copyright=$(Copyright);Description=$(Description)</NuspecProperties>
</PropertyGroup>
<ItemGroup>
<Content Include="build\$(MSBuildThisFileName).props" CopyToOutputDirectory="PreserveNewest" />
<Content Include="tools\wix.ca.targets" CopyToOutputDirectory="PreserveNewest" />
<Content Include="tools\wix.harvest.targets" CopyToOutputDirectory="PreserveNewest" />
<Content Include="tools\wix.signing.targets" CopyToOutputDirectory="PreserveNewest" />
<Content Include="tools\wix.targets" CopyToOutputDirectory="PreserveNewest" />
<Content Include="Sdk\Sdk.props" CopyToOutputDirectory="PreserveNewest" />
<Content Include="Sdk\Sdk.targets" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="All" />
</ItemGroup>
<PropertyGroup>
<GenerateNuspecDependsOn>$(GenerateNuspecDependsOn);SetNuspecVersion</GenerateNuspecDependsOn>
</PropertyGroup>
<Target Name="SetNuspecVersion">
<Error Text="Cannot pack $(MSBuildThisFileName) until all projects are published to: '$(NuspecBasePath)'. Run appveyor.cmd to publish projects properly." Condition=" !Exists('$(NuspecBasePath)') " />
<PropertyGroup>
<NuspecProperties>$(NuspecProperties);Version=$(Version);ProjectFolder=$(MSBuildThisFileDirectory)</NuspecProperties>
</PropertyGroup>
</Target>
</Project>
|