diff options
Diffstat (limited to 'src/wixext')
-rw-r--r-- | src/wixext/WixToolset.Netfx.wixext.csproj | 15 | ||||
-rw-r--r-- | src/wixext/WixToolset.Netfx.wixext.nuspec | 26 |
2 files changed, 38 insertions, 3 deletions
diff --git a/src/wixext/WixToolset.Netfx.wixext.csproj b/src/wixext/WixToolset.Netfx.wixext.csproj index 725b9c39..2e59f0c4 100644 --- a/src/wixext/WixToolset.Netfx.wixext.csproj +++ b/src/wixext/WixToolset.Netfx.wixext.csproj | |||
@@ -7,9 +7,10 @@ | |||
7 | <RootNamespace>WixToolset.Netfx</RootNamespace> | 7 | <RootNamespace>WixToolset.Netfx</RootNamespace> |
8 | <Description>WiX Toolset .NET Framework Extension</Description> | 8 | <Description>WiX Toolset .NET Framework Extension</Description> |
9 | <Title>WiX Toolset .NET Framework Extension</Title> | 9 | <Title>WiX Toolset .NET Framework Extension</Title> |
10 | <IsTool>true</IsTool> | 10 | <DebugType>embedded</DebugType> |
11 | <SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking> | 11 | <NuspecFile>$(MSBuildThisFileName).nuspec</NuspecFile> |
12 | <ContentTargetFolders>build</ContentTargetFolders> | 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> |
@@ -18,6 +19,7 @@ | |||
18 | </ItemGroup> | 19 | </ItemGroup> |
19 | 20 | ||
20 | <ItemGroup> | 21 | <ItemGroup> |
22 | <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="all" /> | ||
21 | <PackageReference Include="WixToolset.Data" Version="4.0.*" PrivateAssets="all" /> | 23 | <PackageReference Include="WixToolset.Data" Version="4.0.*" PrivateAssets="all" /> |
22 | <PackageReference Include="WixToolset.Extensibility" Version="4.0.*" PrivateAssets="all" /> | 24 | <PackageReference Include="WixToolset.Extensibility" Version="4.0.*" PrivateAssets="all" /> |
23 | </ItemGroup> | 25 | </ItemGroup> |
@@ -29,4 +31,11 @@ | |||
29 | <ItemGroup> | 31 | <ItemGroup> |
30 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="all" /> | 32 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="all" /> |
31 | </ItemGroup> | 33 | </ItemGroup> |
34 | |||
35 | <Target Name="SetNuspecProperties" DependsOnTargets="InitializeSourceControlInformation" AfterTargets="GetBuildVersion"> | ||
36 | <PropertyGroup> | ||
37 | <NuspecBasePath>$(OutputPath)..\</NuspecBasePath> | ||
38 | <NuspecProperties>$(NuspecProperties);Version=$(BuildVersionSimple);RepositoryCommit=$(SourceRevisionId);RepositoryType=$(RepositoryType);RepositoryUrl=$(PrivateRepositoryUrl);ProjectFolder=$(MSBuildThisFileDirectory)</NuspecProperties> | ||
39 | </PropertyGroup> | ||
40 | </Target> | ||
32 | </Project> | 41 | </Project> |
diff --git a/src/wixext/WixToolset.Netfx.wixext.nuspec b/src/wixext/WixToolset.Netfx.wixext.nuspec new file mode 100644 index 00000000..280ccad5 --- /dev/null +++ b/src/wixext/WixToolset.Netfx.wixext.nuspec | |||
@@ -0,0 +1,26 @@ | |||
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/Netfx.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 | |||
22 | <file src="ARM64\*.pdb" target="pdbs\ARM64" /> | ||
23 | <file src="x86\*.pdb" target="pdbs\x86" /> | ||
24 | <file src="x64\*.pdb" target="pdbs\x64" /> | ||
25 | </files> | ||
26 | </package> | ||