diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2020-06-24 19:59:24 +1000 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2020-06-24 21:03:13 +1000 |
commit | 0b32106dc52b6d63c8c3aea093034bc1c379e1fc (patch) | |
tree | ff3e4f7d55a65f8e5181690a240a12c946491c28 | |
parent | b4427d968db5f1fdd5fa8a55814483208cdd7312 (diff) | |
download | wix-0b32106dc52b6d63c8c3aea093034bc1c379e1fc.tar.gz wix-0b32106dc52b6d63c8c3aea093034bc1c379e1fc.tar.bz2 wix-0b32106dc52b6d63c8c3aea093034bc1c379e1fc.zip |
Create symbols package.
-rw-r--r-- | src/wixext/WixToolset.Util.wixext.csproj | 12 | ||||
-rw-r--r-- | src/wixext/WixToolset.Util.wixext.nuspec | 29 |
2 files changed, 39 insertions, 2 deletions
diff --git a/src/wixext/WixToolset.Util.wixext.csproj b/src/wixext/WixToolset.Util.wixext.csproj index b35e06ec..0b362643 100644 --- a/src/wixext/WixToolset.Util.wixext.csproj +++ b/src/wixext/WixToolset.Util.wixext.csproj | |||
@@ -7,9 +7,10 @@ | |||
7 | <RootNamespace>WixToolset.Util</RootNamespace> | 7 | <RootNamespace>WixToolset.Util</RootNamespace> |
8 | <Description>WiX Toolset Utility Extension</Description> | 8 | <Description>WiX Toolset Utility Extension</Description> |
9 | <Title>WiX Toolset Util Extension</Title> | 9 | <Title>WiX Toolset Util Extension</Title> |
10 | <IsTool>true</IsTool> | ||
11 | <ContentTargetFolders>build</ContentTargetFolders> | ||
12 | <DebugType>embedded</DebugType> | 10 | <DebugType>embedded</DebugType> |
11 | <NuspecFile>$(MSBuildThisFileName).nuspec</NuspecFile> | ||
12 | <IncludeSymbols>true</IncludeSymbols> | ||
13 | <NuspecProperties>Id=$(MSBuildThisFileName);Authors=$(Authors);Copyright=$(Copyright);Description=$(Description);Title=$(Title)</NuspecProperties> | ||
13 | </PropertyGroup> | 14 | </PropertyGroup> |
14 | 15 | ||
15 | <ItemGroup> | 16 | <ItemGroup> |
@@ -31,4 +32,11 @@ | |||
31 | <ItemGroup> | 32 | <ItemGroup> |
32 | <PackageReference Include="Nerdbank.GitVersioning" Version="2.1.65" PrivateAssets="All" /> | 33 | <PackageReference Include="Nerdbank.GitVersioning" Version="2.1.65" PrivateAssets="All" /> |
33 | </ItemGroup> | 34 | </ItemGroup> |
35 | |||
36 | <Target Name="SetNuspecProperties" AfterTargets="CoreBuild"> | ||
37 | <PropertyGroup> | ||
38 | <NuspecBasePath>$(OutputPath)..\</NuspecBasePath> | ||
39 | <NuspecProperties>$(NuspecProperties);Version=$(BuildVersionSimple);RepositoryCommit=$(SourceRevisionId);RepositoryType=$(RepositoryType);RepositoryUrl=$(PrivateRepositoryUrl);ProjectFolder=$(MSBuildThisFileDirectory)</NuspecProperties> | ||
40 | </PropertyGroup> | ||
41 | </Target> | ||
34 | </Project> | 42 | </Project> |
diff --git a/src/wixext/WixToolset.Util.wixext.nuspec b/src/wixext/WixToolset.Util.wixext.nuspec new file mode 100644 index 00000000..fd27390f --- /dev/null +++ b/src/wixext/WixToolset.Util.wixext.nuspec | |||
@@ -0,0 +1,29 @@ | |||
1 | <?xml version="1.0"?> | ||
2 | <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||
3 | <metadata minClientVersion="4.0"> | ||
4 | <id>$id$</id> | ||
5 | <version>$version$</version> | ||
6 | <authors>$authors$</authors> | ||
7 | <owners>$authors$</owners> | ||
8 | <license type="expression">MS-RL</license> | ||
9 | <projectUrl>https://github.com/wixtoolset/Util.wixext</projectUrl> | ||
10 | <requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
11 | <title>$title$</title> | ||
12 | <description>$description$</description> | ||
13 | <copyright>$copyright$</copyright> | ||
14 | <repository type="$repositorytype$" url="$repositoryurl$" commit="$repositorycommit$" /> | ||
15 | </metadata> | ||
16 | |||
17 | <files> | ||
18 | <file src="$projectFolder$$id$.targets" target="build" /> | ||
19 | |||
20 | <file src="netstandard2.0\$id$.dll" target="tools" /> | ||
21 | <file src="$projectFolder$util.xsd" target="tools" /> | ||
22 | |||
23 | <file src="ARM\*.pdb" target="pdbs\ARM" /> | ||
24 | <file src="ARM64\*.pdb" target="pdbs\ARM64" /> | ||
25 | <file src="Win32\*.pdb" target="pdbs\Win32" /> | ||
26 | <file src="x86\*.pdb" target="pdbs\x86" /> | ||
27 | <file src="x64\*.pdb" target="pdbs\x64" /> | ||
28 | </files> | ||
29 | </package> | ||