diff options
| author | Rob Mensching <rob@firegiant.com> | 2017-09-24 15:06:23 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2017-09-24 15:06:23 -0700 |
| commit | feea62d5bd1f90bb012cb7cf2c84c9703f6568b2 (patch) | |
| tree | 32d1c19a68b6db70af0ca34d2b3509a1b642b220 /src/WixToolset.Core.InternalPackage | |
| parent | 2df223aa79242822bba2c22dd842d8b5fc94c04d (diff) | |
| download | wix-feea62d5bd1f90bb012cb7cf2c84c9703f6568b2.tar.gz wix-feea62d5bd1f90bb012cb7cf2c84c9703f6568b2.tar.bz2 wix-feea62d5bd1f90bb012cb7cf2c84c9703f6568b2.zip | |
Publish Core tools for internal use
Diffstat (limited to 'src/WixToolset.Core.InternalPackage')
| -rw-r--r-- | src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.csproj | 26 | ||||
| -rw-r--r-- | src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.nuspec | 21 |
2 files changed, 47 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> | ||
diff --git a/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.nuspec b/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.nuspec new file mode 100644 index 00000000..5879b7a5 --- /dev/null +++ b/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.nuspec | |||
| @@ -0,0 +1,21 @@ | |||
| 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 | </metadata> | ||
| 12 | |||
| 13 | <files> | ||
| 14 | <file src="redirects\wix.props" target="build" /> | ||
| 15 | |||
| 16 | <file src="redirects\wix.targets" target="msbuild" /> | ||
| 17 | <file src="redirects\wix.ca.targets" target="msbuild" /> | ||
| 18 | |||
| 19 | <file src="*" target="tools" /> | ||
| 20 | </files> | ||
| 21 | </package> | ||
