forked from microsoft/CLRInstrumentationEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackaging.props
29 lines (27 loc) · 1.93 KB
/
Packaging.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="Common.Props" Condition="$(CommonBuildPropsIncluded) == '' or $(CommonBuildPropsIncluded) != 'True'" />
<PropertyGroup>
<!-- Builds can override this property to change the location from which the packaging projects
will pick up the binaries that they are trying to package. For example, by specifying the
/p:InputBinCfgRoot property when invoking msbuild.exe, this value will be overridden. This
is useful for distributed build systems to download the binary artifacts to an arbitrary
location that the source code would not necessarily know. -->
<InputBinCfgRoot Condition=" '$(InputBinCfgRoot)'=='' ">$(BinRoot)\$(Configuration)</InputBinCfgRoot>
</PropertyGroup>
<PropertyGroup Condition=" $(TargetExt) == '.nupkg' ">
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<NuspecProperties>$(NuspecProperties);enlistmentroot=$(EnlistmentRoot)</NuspecProperties>
<NuspecProperties>$(NuspecProperties);packageid=$(PackageId)</NuspecProperties>
<NuspecProperties>$(NuspecProperties);version=$(PackageVersion)</NuspecProperties>
<NuspecProperties>$(NuspecProperties);binCfgRoot=$(InputBinCfgRoot)</NuspecProperties>
<NuspecProperties>$(NuspecProperties);authors=$(PackageAuthors)</NuspecProperties>
<NuspecProperties>$(NuspecProperties);configuration=$(Configuration)</NuspecProperties>
<NuspecProperties>$(NuspecProperties);platform=$(Platform)</NuspecProperties>
<NuspecProperties>$(NuspecProperties);licenseFile=$(PackageLicenseFile)</NuspecProperties>
<NuspecBasePath>$(BinRoot)</NuspecBasePath>
<NuspecOutputDirectory>$(OutDir)\$(Platform)</NuspecOutputDirectory>
</PropertyGroup>
</Project>