diff options
| author | Rob Mensching <rob@firegiant.com> | 2018-07-21 07:36:34 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2018-07-21 07:36:34 -0700 |
| commit | 306f1d0c528cb6c151594ff96a41b5c01a5c4d9b (patch) | |
| tree | 95deb0884b59decc082eae7adf5d65d45c5f3848 /src/WixToolset.MSBuild/WixToolset.MSBuild.csproj | |
| parent | 6fc54af07b10742e883f3a39ef0114e55e6a36a0 (diff) | |
| download | wix-306f1d0c528cb6c151594ff96a41b5c01a5c4d9b.tar.gz wix-306f1d0c528cb6c151594ff96a41b5c01a5c4d9b.tar.bz2 wix-306f1d0c528cb6c151594ff96a41b5c01a5c4d9b.zip | |
Integrate tools from Core project
Diffstat (limited to 'src/WixToolset.MSBuild/WixToolset.MSBuild.csproj')
| -rw-r--r-- | src/WixToolset.MSBuild/WixToolset.MSBuild.csproj | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/WixToolset.MSBuild/WixToolset.MSBuild.csproj b/src/WixToolset.MSBuild/WixToolset.MSBuild.csproj new file mode 100644 index 00000000..76e42911 --- /dev/null +++ b/src/WixToolset.MSBuild/WixToolset.MSBuild.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 MSBuild integration</Description> | ||
| 9 | <NuspecFile>$(MSBuildThisFileName).nuspec</NuspecFile> | ||
| 10 | <NuspecBasePath>$(OutputPath)publish\WixToolset.MSBuild\</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> | ||
