Xamarin Public Jenkins (auto-signing) 6bdd276d05 Imported Upstream version 5.0.0.42
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
2017-04-10 11:41:01 +00:00

59 lines
3.1 KiB
XML

<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PreReleaseLabel>alpha</PreReleaseLabel>
<PackageProjectDirectory>$(ProjectDir)pkg/</PackageProjectDirectory>
<PackageSourceDirectory>$(ProjectDir)src/</PackageSourceDirectory>
<PackageDescriptionFile>$(PackageProjectDirectory)descriptions.json</PackageDescriptionFile>
<PackageLicenseFile>$(PackageProjectDirectory)dotnet_library_license.txt</PackageLicenseFile>
<PackageThirdPartyNoticesFile>$(PackageProjectDirectory)ThirdPartyNotices.txt</PackageThirdPartyNoticesFile>
<ReleaseNotes>TODO</ReleaseNotes>
<ProjectUrl>https://dot.net</ProjectUrl>
<!-- Add a condition for this when we are able to run on .NET Core -->
<PackagingTaskDir>$(ToolsDir)net45/</PackagingTaskDir>
<!-- defined in buildtools packaging.targets, but we need this before targets are imported -->
<PackagePlatform Condition="'$(PackagePlatform)' == ''">$(Platform)</PackagePlatform>
<PackagePlatform Condition="'$(PackagePlatform)' == 'amd64'">x64</PackagePlatform>
<!-- We're currently not building a "live" baseline, instead we're using .NETCore 1.0 RTM stable versions as the baseline -->
<SkipBaseLineCheck>true</SkipBaseLineCheck>
<LineupPackageId>Microsoft.DotNet.CoreRT.Targets</LineupPackageId>
<LineupPackageVersion Condition="'$(LineupPackageVersion)' == ''">1.0.0</LineupPackageVersion>
<!-- by default all packages will use the same version which revs with respect to product version -->
<PackageVersion Condition="'$(PackageVersion)' == ''">1.0.0</PackageVersion>
<SkipValidatePackageTargetFramework>true</SkipValidatePackageTargetFramework>
</PropertyGroup>
<Import Condition="Exists('$(PackageProjectDirectory)baseline/baseline.props') AND '$(MSBuildProjectExtension)' == '.pkgproj'" Project="$(PackageProjectDirectory)baseline/baseline.props" />
<ItemGroup>
<PackageIndex Include="$(PackageProjectDirectory)packageIndex.json" />
</ItemGroup>
<!--
Building packages fails for two reasons.
First, nuget doesn't like the paths in the nuspec having backslashes as directory separators.
Second, we aren't yet building pdbs, which the nuspecs specify.
<PropertyGroup Condition="'$(OsEnvironment)'=='Unix'">
<SkipBuildPackages>true</SkipBuildPackages>
</PropertyGroup>
-->
<ItemGroup Condition="'$(MSBuildProjectExtension)' == '.pkgproj'">
<!-- Add required legal files to packages -->
<File Condition="'$(PackageIsEmpty)' != 'true' AND Exists('$(PackageLicenseFile)')"
Include="$(PackageLicenseFile)" >
<SkipPackageFileCheck>true</SkipPackageFileCheck>
</File>
<File Condition="'$(PackageIsEmpty)' != 'true' AND Exists('$(PackageThirdPartyNoticesFile)')"
Include="$(PackageThirdPartyNoticesFile)" >
<SkipPackageFileCheck>true</SkipPackageFileCheck>
</File>
<!-- Add version file to packages -->
<File Condition="'$(PackageIsEmpty)' != 'true' AND Exists('$(SyncInfoFile)')"
Include="$(SyncInfoFile)" >
<SkipPackageFileCheck>true</SkipPackageFileCheck>
</File>
</ItemGroup>
</Project>