diff options
Diffstat (limited to 'src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.csproj')
-rw-r--r-- | src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.csproj | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.csproj b/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.csproj new file mode 100644 index 00000000..613c6b88 --- /dev/null +++ b/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.csproj | |||
@@ -0,0 +1,26 @@ | |||
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>Internal WiX Toolset Tools</Description> | ||
9 | <NuspecFile>$(MSBuildThisFileName).nuspec</NuspecFile> | ||
10 | <NuspecBasePath>$(OutputPath)publish</NuspecBasePath> | ||
11 | <NuspecProperties>Id=$(MSBuildThisFileName);Authors=$(Authors);Copyright=$(Copyright);Description=$(Description)</NuspecProperties> | ||
12 | </PropertyGroup> | ||
13 | |||
14 | <ItemGroup> | ||
15 | <PackageReference Include="Nerdbank.GitVersioning" Version="2.0.41" PrivateAssets="all" /> | ||
16 | </ItemGroup> | ||
17 | |||
18 | <Target Name="SetNuspecVersion" | ||
19 | AfterTargets="GetBuildVersion"> | ||
20 | <Error Text="Cannot pack $(MSBuildThisFileName) until all projects are published to: $(NuspecBasePath). Run appveyor.cmd to publish projects properly." Condition=" !Exists('$(NuspecBasePath)') " /> | ||
21 | |||
22 | <PropertyGroup> | ||
23 | <NuspecProperties>$(NuspecProperties);Version=$(Version)</NuspecProperties> | ||
24 | </PropertyGroup> | ||
25 | </Target> | ||
26 | </Project> | ||