You've already forked linux-packaging-mono
Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
parent
e49d6f06c0
commit
536cd135cc
8
external/corefx/pkg/Microsoft.NETCore.Platforms/Configurations.props
vendored
Normal file
8
external/corefx/pkg/Microsoft.NETCore.Platforms/Configurations.props
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<BuildConfigurations>
|
||||
netstandard;
|
||||
</BuildConfigurations>
|
||||
</PropertyGroup>
|
||||
</Project>
|
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
<ItemGroup>
|
||||
<ItemGroup Condition="'$(OfficialBuildId)' == '' Or '$(BuildAllConfigurations)' == 'true'">
|
||||
<Project Include="Microsoft.NETCore.Platforms.pkgproj" />
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
|
||||
|
@@ -1,12 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
|
||||
|
||||
<PropertyGroup>
|
||||
<PackageVersion>$(PlatformPackageVersion)</PackageVersion>
|
||||
<SkipValidatePackage>true</SkipValidatePackage>
|
||||
<!-- We don't need to harvest the stable packages to build this -->
|
||||
<HarvestStablePackage>false</HarvestStablePackage>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
<ItemGroup>
|
||||
<File Include="runtime.json" />
|
||||
<!-- make this package installable and noop in a packages.config-based project -->
|
||||
|
@@ -36,6 +36,12 @@
|
||||
"win-x64": {
|
||||
"#import": [ "win" ]
|
||||
},
|
||||
"win-arm": {
|
||||
"#import": [ "win" ]
|
||||
},
|
||||
"win-arm64": {
|
||||
"#import": [ "win" ]
|
||||
},
|
||||
|
||||
"win7": {
|
||||
"#import": [ "win" ]
|
||||
@@ -57,7 +63,7 @@
|
||||
"#import": [ "win8", "win7-x64" ]
|
||||
},
|
||||
"win8-arm": {
|
||||
"#import": [ "win8" ]
|
||||
"#import": [ "win8", "win-arm" ]
|
||||
},
|
||||
|
||||
"win81": {
|
||||
@@ -86,7 +92,7 @@
|
||||
"#import": [ "win10", "win81-arm" ]
|
||||
},
|
||||
"win10-arm64": {
|
||||
"#import": [ "win10" ]
|
||||
"#import": [ "win10", "win-arm64" ]
|
||||
},
|
||||
|
||||
"aot": {
|
||||
@@ -568,43 +574,11 @@
|
||||
"#import": [ "opensuse.42.1", "opensuse-x64" ]
|
||||
},
|
||||
|
||||
"alpine": {
|
||||
"gentoo": {
|
||||
"#import": [ "linux" ]
|
||||
},
|
||||
"alpine-x64": {
|
||||
"#import": [ "alpine", "linux-x64" ]
|
||||
},
|
||||
"alpine-arm": {
|
||||
"#import": [ "alpine", "linux-arm" ]
|
||||
},
|
||||
"alpine-arm64": {
|
||||
"#import": [ "alpine", "linux-arm64" ]
|
||||
},
|
||||
|
||||
"alpine.3": {
|
||||
"#import": [ "alpine" ]
|
||||
},
|
||||
"alpine.3-x64": {
|
||||
"#import": [ "alpine.3", "alpine-x64" ]
|
||||
},
|
||||
"alpine.3-arm": {
|
||||
"#import": [ "alpine.3", "alpine-arm" ]
|
||||
},
|
||||
"alpine.3-arm64": {
|
||||
"#import": [ "alpine.3", "alpine-arm64" ]
|
||||
},
|
||||
|
||||
"alpine.3.4.3": {
|
||||
"#import": [ "alpine.3" ]
|
||||
},
|
||||
"alpine.3.4.3-x64": {
|
||||
"#import": [ "alpine.3.4.3", "alpine.3-x64" ]
|
||||
},
|
||||
"alpine.3.4.3-arm": {
|
||||
"#import": [ "alpine.3.4.3", "alpine.3-arm" ]
|
||||
},
|
||||
"alpine.3.4.3-arm64": {
|
||||
"#import": [ "alpine.3.4.3", "alpine.3-arm64" ]
|
||||
"gentoo-x64": {
|
||||
"#import": [ "gentoo", "linux-x64" ]
|
||||
},
|
||||
|
||||
"corert": {
|
||||
@@ -957,26 +931,5 @@
|
||||
"#import": [ "opensuse.42.1-corert", "opensuse.13.2-x64-corert", "opensuse.42.1-x64" ]
|
||||
},
|
||||
|
||||
"alpine-corert": {
|
||||
"#import": [ "linux-corert", "alpine" ]
|
||||
},
|
||||
"alpine-x64-corert": {
|
||||
"#import": [ "alpine-corert", "linux-x64-corert", "alpine-x64" ]
|
||||
},
|
||||
|
||||
"alpine.3-corert": {
|
||||
"#import": [ "alpine-corert", "alpine.3" ]
|
||||
},
|
||||
"alpine.3-x64-corert": {
|
||||
"#import": [ "alpine.3-corert", "alpine-x64-corert", "alpine.3-x64" ]
|
||||
},
|
||||
|
||||
"alpine.3.4.3-corert": {
|
||||
"#import": [ "alpine.3-corert", "alpine.3.4.3" ]
|
||||
},
|
||||
"alpine.3.4.3-x64-corert": {
|
||||
"#import": [ "alpine.3.4.3-corert", "alpine.3-x64-corert", "alpine.3.4.3-x64" ]
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
8
external/corefx/pkg/Microsoft.NETCore.Targets/Configurations.props
vendored
Normal file
8
external/corefx/pkg/Microsoft.NETCore.Targets/Configurations.props
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<BuildConfigurations>
|
||||
netstandard;
|
||||
</BuildConfigurations>
|
||||
</PropertyGroup>
|
||||
</Project>
|
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
<ItemGroup>
|
||||
<ItemGroup Condition="'$(OfficialBuildId)' == '' Or '$(BuildAllConfigurations)' == 'true'">
|
||||
<Project Include="Microsoft.NETCore.Targets.pkgproj"/>
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
|
||||
|
@@ -1,35 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
|
||||
|
||||
<PropertyGroup>
|
||||
<PackageVersion>$(LineupPackageVersion)</PackageVersion>
|
||||
<IsLineupPackage>true</IsLineupPackage>
|
||||
<RuntimeFileSource>runtime.json</RuntimeFileSource>
|
||||
<PackageVersion>2.1.0</PackageVersion>
|
||||
<SkipValidatePackage>true</SkipValidatePackage>
|
||||
<!-- We don't need to harvest the stable packages to build this -->
|
||||
<HarvestStablePackage>false</HarvestStablePackage>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="..\NETStandard.Library\NETStandard.Library.packages.targets" />
|
||||
|
||||
|
||||
<ItemGroup>
|
||||
<!-- make this package installable and noop in a packages.config-based project -->
|
||||
<File Include="$(PlaceHolderFile)">
|
||||
<TargetPath>lib/netstandard1.0</TargetPath>
|
||||
</File>
|
||||
|
||||
<Package Include="System.Private.Uri" />
|
||||
<NativePackage Include="runtime.native.System.IO.Compression" />
|
||||
<NativePackage Include="runtime.native.System" />
|
||||
<NativePackage Include="runtime.native.System.Net.Http" />
|
||||
<NativePackage Include="runtime.native.System.Security.Cryptography" />
|
||||
<NativePackage Include="runtime.native.System.Security.Cryptography.Apple" />
|
||||
<NativePackage Include="runtime.native.System.Security.Cryptography.OpenSsl" />
|
||||
<NativePackage Include="runtime.native.System.Net.Security" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<LineupProjectReference Include="@(Package->'$(SourceDir)%(Identity)/pkg/%(Identity).pkgproj')" />
|
||||
<LineupProjectReference Include="@(NativePackage->'$(SourceDir)Native/pkg/%(Identity)/%(Identity).pkgproj')" />
|
||||
<File Include="runtime.json" />
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
</Project>
|
||||
|
@@ -2,33 +2,11 @@
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
|
||||
<Import Project="$(MSBuildProjectName).props" />
|
||||
|
||||
<ItemGroup>
|
||||
<!-- identity project, runtime specific projects are included by props above -->
|
||||
<!-- identity project, runtime specific projects are included through netcoreapp.rids.props -->
|
||||
<Project Include="$(MSBuildProjectName).pkgproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
|
||||
|
||||
<PropertyGroup>
|
||||
<TraversalBuildDependsOn>
|
||||
FilterProjects;
|
||||
$(TraversalBuildDependsOn);
|
||||
</TraversalBuildDependsOn>
|
||||
</PropertyGroup>
|
||||
|
||||
<Target Name="FilterProjects">
|
||||
<Error Condition="'$(PackageRID)' == ''" Text="'PackageRID' property must be specified."/>
|
||||
|
||||
<!-- Only build packages for current RID -->
|
||||
<ItemGroup>
|
||||
<_projectsToBuild Include="@(Project)" Condition="'%(Project.PackageTargetRuntime)' == '$(PackageRID)' OR '%(Project.PackageTargetRuntime)' == ''" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Project Remove="@(Project)" />
|
||||
<Project Include="@(_projectsToBuild)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
</Project>
|
@@ -2,132 +2,53 @@
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
|
||||
<Import Project="$(MSBuildProjectName).props" />
|
||||
|
||||
<!-- Add path globs specific to native binaries to exclude unnecessary files from packages. -->
|
||||
<Choose>
|
||||
<When Condition="$(PackageTargetRuntime.StartsWith('win'))"/>
|
||||
<When Condition="$(PackageTargetRuntime.StartsWith('osx'))">
|
||||
<PropertyGroup>
|
||||
<LibraryFileExtension>.dylib</LibraryFileExtension>
|
||||
<SymbolFileExtension>.dwarf</SymbolFileExtension>
|
||||
</PropertyGroup>
|
||||
</When>
|
||||
<Otherwise>
|
||||
<PropertyGroup>
|
||||
<LibraryFileExtension>.so</LibraryFileExtension>
|
||||
<SymbolFileExtension>.dbg</SymbolFileExtension>
|
||||
</PropertyGroup>
|
||||
</Otherwise>
|
||||
</Choose>
|
||||
<ItemGroup>
|
||||
<AdditionalLibPackageExcludes Condition="'$(SymbolFileExtension)' != ''" Include="%2A%2A\%2A$(SymbolFileExtension)" />
|
||||
<AdditionalSymbolPackageExcludes Condition="'$(LibraryFileExtension)' != ''" Include="%2A%2A\%2A.a;%2A%2A\%2A$(LibraryFileExtension)" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<IsLineupPackage Condition="'$(PackageTargetRuntime)' == ''">true</IsLineupPackage>
|
||||
<PreventImplementationReference Condition="'$(PackageTargetRuntime)' != ''">true</PreventImplementationReference>
|
||||
<TargetFrameworkName>netcoreapp</TargetFrameworkName>
|
||||
<TargetFrameworkVersion>2.0</TargetFrameworkVersion>
|
||||
<TargetFramework>$(TargetFrameworkName)$(TargetFrameworkVersion)</TargetFramework>
|
||||
<SkipPackageFileCheck>true</SkipPackageFileCheck>
|
||||
<SkipValidatePackage>true</SkipValidatePackage>
|
||||
|
||||
<RefBinDir>$(NETCoreAppPackageRefPath)</RefBinDir>
|
||||
<LibBinDir>$(NETCoreAppPackageRuntimePath)</LibBinDir>
|
||||
|
||||
<NETStandardLibraryPackage>NETStandard.Library2</NETStandardLibraryPackage>
|
||||
<NETStandardLibraryPackageVersion>2.0.0-beta-24709-0</NETStandardLibraryPackageVersion>
|
||||
<NETStandardVersion>2.0</NETStandardVersion>
|
||||
<IsFrameworkPackage>true</IsFrameworkPackage>
|
||||
|
||||
<!-- Include symbols in package by default-->
|
||||
<!-- Private packages need symbols -->
|
||||
<IncludeSymbolsInPackage Condition="'$(IncludeSymbolsInPackage)' == ''">true</IncludeSymbolsInPackage>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Condition="'$(PackageTargetRuntime)' == ''" Project="$(RefBinDir)\*.props" />
|
||||
<ItemGroup Condition="'$(PackageTargetRuntime)' == ''">
|
||||
<!-- Include refs -->
|
||||
<File Include="@(FileToPackage)">
|
||||
<TargetPath Condition="'%(File.TargetPath)' == ''">ref/$(TargetFramework)</TargetPath>
|
||||
</File>
|
||||
<!-- force a missing file if ref build is absent -->
|
||||
<File Include="$(RefBinDir)/MISSING_REF_BUILD" Condition="'@(FileToPackage)' == ''" />
|
||||
|
||||
<_buildRIDWithMetadata Include="@(BuildRID)">
|
||||
<TargetRuntime>%(Identity)</TargetRuntime>
|
||||
<Version>$(PackageVersion)</Version>
|
||||
</_buildRIDWithMetadata>
|
||||
<Dependency Include="@(_buildRIDWithMetadata->'runtime.%(Identity).$(Id)')" />
|
||||
|
||||
<Dependency Include="Microsoft.NETCore.Platforms">
|
||||
<Version>$(PlatformPackageVersion)</Version>
|
||||
</Dependency>
|
||||
</ItemGroup>
|
||||
|
||||
<Import Condition="'$(PackageTargetRuntime)' != ''" Project="$(LibBinDir)\*.props" />
|
||||
<ItemGroup Condition="'$(PackageTargetRuntime)' != ''">
|
||||
<!-- Include lib -->
|
||||
<File Include="@(FileToPackage)">
|
||||
<TargetPath Condition="'%(File.TargetPath)' == ''">runtimes/$(PackageTargetRuntime)/lib/$(TargetFramework)</TargetPath>
|
||||
</File>
|
||||
<!-- force a missing file if lib build is absent -->
|
||||
<File Include="$(LibBinDir)/MISSING_LIB_BUILD" Condition="'@(FileToPackage)' == ''" />
|
||||
|
||||
<!-- Include native -->
|
||||
<ExcludeNative Include="$(NativeBinDir)/*.lib" />
|
||||
<NativeFile Include="$(NativeBinDir)/*.*" Exclude="@(ExcludeNative)">
|
||||
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
|
||||
</NativeFile>
|
||||
<File Include="@(NativeFile)" />
|
||||
<!-- force a missing file if native build is absent -->
|
||||
<File Include="$(NativeBinDir)/MISSING_NATIVE_BUILD" Condition="'@(NativeFile)' == ''" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<IgnoredReference Include="System.Private.CoreLib" />
|
||||
|
||||
<!-- Exclude shims from the closure verification -->
|
||||
<ExcludeFromClosure Include="mscorlib" />
|
||||
<ExcludeFromClosure Include="System" />
|
||||
<ExcludeFromClosure Include="System.Configuration" />
|
||||
<ExcludeFromClosure Include="System.Core" />
|
||||
<ExcludeFromClosure Include="System.Data" />
|
||||
<ExcludeFromClosure Include="System.Drawing" />
|
||||
<ExcludeFromClosure Include="System.Net" />
|
||||
<ExcludeFromClosure Include="System.Security" />
|
||||
<ExcludeFromClosure Include="System.ServiceProcess" />
|
||||
<ExcludeFromClosure Include="System.Transactions" />
|
||||
<ExcludeFromClosure Include="WindowsBase" />
|
||||
|
||||
<!-- Permit the following implementation-only assemblies -->
|
||||
<ValidatePackageSuppression Condition="'$(PackageTargetRuntime)' != ''" Include="PermitInbox">
|
||||
<Value>
|
||||
Microsoft.VisualBasic;
|
||||
Microsoft.Win32.Registry;
|
||||
System.IO.FileSystem.AccessControl;
|
||||
System.Private.DataContractSerialization;
|
||||
System.Private.Uri;
|
||||
System.Private.Xml;
|
||||
System.Private.Xml.Linq;
|
||||
System.Security.AccessControl;
|
||||
System.Security.Cryptography.Cng;
|
||||
System.Security.Cryptography.OpenSsl;
|
||||
System.Security.Principal.Windows;
|
||||
</Value>
|
||||
</ValidatePackageSuppression>
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="VerifyClosure" AfterTargets="Build">
|
||||
<ItemGroup>
|
||||
<!-- Exclude shims from the closure verification -->
|
||||
<ExcludeFromClosure Include="mscorlib" />
|
||||
<ExcludeFromClosure Include="System" />
|
||||
<ExcludeFromClosure Include="System.Core" />
|
||||
<ExcludeFromClosure Include="System.Data" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<_fileExisting Include="@(File)" Condition="Exists(%(FullPath))"/>
|
||||
|
||||
<_fileNames Include="@(_fileExisting -> '%(FileName)')" Exclude="@(ExcludeFromClosure)">
|
||||
<Original>%(_fileExisting.Identity)</Original>
|
||||
</_fileNames>
|
||||
<_filesFiltered Include="@(_fileNames->'%(Original)')" />
|
||||
</ItemGroup>
|
||||
|
||||
<VerifyClosure Sources="@(_filesFiltered)"
|
||||
IgnoredReferences="@(IgnoredReference)" />
|
||||
</Target>
|
||||
|
||||
<Target Name="VerifyNETStandard" AfterTargets="Build">
|
||||
<ItemGroup>
|
||||
<_NETStandardFile Include="$(PackagesDir)$(NETStandardLibraryPackage)\$(NETStandardLibraryPackageVersion)\ref\netstandard$(NETStandardVersion)\*.dll" />
|
||||
<_NETStandardMissingFile Include="@(_NETStandardFile->'%(FileName)')" Exclude="@(File->'%(FileName)')" />
|
||||
<_NETStandardMissingFileError Include="@(_NETStandardMissingFile)" Exclude="@(SuppressNETStandardMissingFile)" />
|
||||
<_NETStandardSuppressedMissingFile Include="@(_NETStandardMissingFile)" Exclude="@(_NETStandardMissingFileError)" />
|
||||
</ItemGroup>
|
||||
<Message Condition="'@(_NETStandardSuppressedMissingFile)' != ''" Text="Files'@(_NETStandardSuppressedMissingFile)' are part of '$(NETStandardLibraryPackage)' but missing from this package. This error has been suppressed." />
|
||||
<Error Condition="'@(_NETStandardMissingFileError)' != ''" Text="Files '@(_NETStandardMissingFileError)' are part of '$(NETStandardLibraryPackage)' but missing from this package." />
|
||||
</Target>
|
||||
|
||||
<Target Name="GetSymbolPackageFiles" BeforeTargets="GetPackageFiles">
|
||||
<ItemGroup>
|
||||
<File>
|
||||
<IsSymbolFile Condition="'%(Extension)' == '.pdb'">true</IsSymbolFile>
|
||||
<IsSymbolFile Condition="'$(SymbolFileExtension)' != '' AND'%(Extension)' == '$(SymbolFileExtension)'">true</IsSymbolFile>
|
||||
</File>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
</Project>
|
||||
|
@@ -1,91 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<_runtimeOSVersionIndex>$(RuntimeOS.IndexOfAny(".-0123456789"))</_runtimeOSVersionIndex>
|
||||
<_runtimeOSFamily Condition="'$(_runtimeOSVersionIndex)' != '-1'">$(RuntimeOS.SubString(0, $(_runtimeOSVersionIndex)))</_runtimeOSFamily>
|
||||
</PropertyGroup>
|
||||
|
||||
<Choose>
|
||||
<When Condition="'$(PackageRID)' != ''" />
|
||||
<When Condition="'$(_runtimeOSFamily)' == 'win'">
|
||||
<PropertyGroup>
|
||||
<PackageRID Condition="'$(ArchGroup)' == 'x86' OR '$(ArchGroup)' == 'x64'">win7-$(ArchGroup)</PackageRID>
|
||||
<PackageRID Condition="'$(ArchGroup)' == 'arm'">win8-$(ArchGroup)</PackageRID>
|
||||
<PackageRID Condition="'$(ArchGroup)' == 'arm64'">win10-$(ArchGroup)</PackageRID>
|
||||
</PropertyGroup>
|
||||
</When>
|
||||
<When Condition="'$(_runtimeOSFamily)' == 'osx'">
|
||||
<PropertyGroup>
|
||||
<PackageRID>osx.10.12-$(ArchGroup)</PackageRID>
|
||||
</PropertyGroup>
|
||||
</When>
|
||||
<When Condition="'$(_runtimeOSFamily)' == 'rhel'">
|
||||
<PropertyGroup>
|
||||
<PackageRID>rhel.7-$(ArchGroup)</PackageRID>
|
||||
</PropertyGroup>
|
||||
</When>
|
||||
<Otherwise>
|
||||
<PropertyGroup>
|
||||
<PackageRID>$(RuntimeOS)-$(ArchGroup)</PackageRID>
|
||||
</PropertyGroup>
|
||||
</Otherwise>
|
||||
</Choose>
|
||||
|
||||
<ItemGroup>
|
||||
<OfficialBuildRID Include="alpine.3.4.3-x64" />
|
||||
<OfficialBuildRID Include="debian.8-armel">
|
||||
<Platform>armel</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="debian.8-x64" />
|
||||
<OfficialBuildRID Include="fedora.23-x64" />
|
||||
<OfficialBuildRID Include="fedora.24-x64" />
|
||||
<OfficialBuildRID Include="linux-x64" />
|
||||
<OfficialBuildRID Include="opensuse.13.2-x64" />
|
||||
<OfficialBuildRID Include="opensuse.42.1-x64" />
|
||||
<OfficialBuildRID Include="osx.10.12-x64" />
|
||||
<OfficialBuildRID Include="rhel.7-x64" />
|
||||
<OfficialBuildRID Include="tizen.4.0.0-armel">
|
||||
<Platform>armel</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="ubuntu.14.04-arm">
|
||||
<Platform>arm</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="ubuntu.14.04-x64" />
|
||||
<OfficialBuildRID Include="ubuntu.16.04-arm">
|
||||
<Platform>arm</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="ubuntu.16.04-x64" />
|
||||
<OfficialBuildRID Include="ubuntu.16.10-arm">
|
||||
<Platform>arm</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="ubuntu.16.10-x64" />
|
||||
<OfficialBuildRID Include="win7-x86">
|
||||
<Platform>x86</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="win7-x64" />
|
||||
<OfficialBuildRID Include="win8-arm">
|
||||
<Platform>arm</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="win10-arm64">
|
||||
<Platform>arm64</Platform>
|
||||
</OfficialBuildRID>
|
||||
|
||||
<!-- Ensure we have a RID-specific package for the current build, even if it isn't in our official set -->
|
||||
<BuildRID Include="@(OfficialBuildRID)" Exclude="$(PackageRID)"/>
|
||||
<BuildRID Include="$(PackageRID)">
|
||||
<Platform Condition="'$(ArchGroup)' == 'x64'">amd64</Platform>
|
||||
<Platform Condition="'$(ArchGroup)' != 'x64'">$(ArchGroup)</Platform>
|
||||
</BuildRID>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<_project Include="@(BuildRID)">
|
||||
<Platform Condition="'%(Platform)' == ''">amd64</Platform>
|
||||
<PackageTargetRuntime>%(Identity)</PackageTargetRuntime>
|
||||
<AdditionalProperties>PackageTargetRuntime=%(Identity);Platform=%(Platform)</AdditionalProperties>
|
||||
</_project>
|
||||
|
||||
<Project Include="@(_project->'$(MSBuildProjectName).pkgproj')" />
|
||||
</ItemGroup>
|
||||
</Project>
|
36
external/corefx/pkg/Microsoft.Private.CoreFx.NETCoreApp/netcoreapp.rids.props
vendored
Normal file
36
external/corefx/pkg/Microsoft.Private.CoreFx.NETCoreApp/netcoreapp.rids.props
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition="'$(PortableBuild)' == 'true'">
|
||||
<PackageRID>linux-$(ArchGroup)</PackageRID>
|
||||
<PackageRID Condition="'$(_runtimeOSFamily)' == 'osx'">osx-$(ArchGroup)</PackageRID>
|
||||
<PackageRID Condition="'$(_runtimeOSFamily)' == 'win'">win-$(ArchGroup)</PackageRID>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(PortableBuild)' != 'true'">
|
||||
<PackageRID>$(RuntimeOS)-$(ArchGroup)</PackageRID>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<OfficialBuildRID Include="linux-arm">
|
||||
<Platform>arm</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="linux-x64" />
|
||||
<OfficialBuildRID Include="osx-x64" />
|
||||
<OfficialBuildRID Include="win-arm">
|
||||
<Platform>arm</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="win-arm64">
|
||||
<Platform>arm64</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="win-x64" />
|
||||
<OfficialBuildRID Include="win-x86">
|
||||
<Platform>x86</Platform>
|
||||
</OfficialBuildRID>
|
||||
|
||||
<!-- The following RIDs are not officically supported and are not
|
||||
built during official builds, however we wish to include them
|
||||
in our runtime.json to enable others to provide them. -->
|
||||
<OfficialBuildRID Include="tizen.4.0.0-armel">
|
||||
<Platform>armel</Platform>
|
||||
</OfficialBuildRID>
|
||||
</ItemGroup>
|
||||
</Project>
|
@@ -2,33 +2,11 @@
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
|
||||
<Import Project="$(MSBuildProjectName).props" />
|
||||
|
||||
<ItemGroup>
|
||||
<!-- identity project, runtime specific projects are included by props above. Will not be built on uapaot builds. -->
|
||||
<!-- Identity project, runtime specific projects are included uap.rids.props.
|
||||
Will not be built on uapaot builds. https://github.com/dotnet/corefx/issues/18098 -->
|
||||
<Project Include="$(MSBuildProjectName).pkgproj" Condition="'$(TargetGroup)'=='uap'" />
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
|
||||
|
||||
<PropertyGroup>
|
||||
<TraversalBuildDependsOn>
|
||||
FilterProjects;
|
||||
$(TraversalBuildDependsOn);
|
||||
</TraversalBuildDependsOn>
|
||||
</PropertyGroup>
|
||||
|
||||
<Target Name="FilterProjects">
|
||||
<Error Condition="'$(PackageRID)' == ''" Text="'PackageRID' property must be specified."/>
|
||||
|
||||
<!-- Only build packages for current RID -->
|
||||
<ItemGroup>
|
||||
<_projectsToBuild Include="@(Project)" Condition="'%(Project.PackageTargetRuntime)' == '$(PackageRID)' OR '%(Project.PackageTargetRuntime)' == ''" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Project Remove="@(Project)" />
|
||||
<Project Include="@(_projectsToBuild)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
</Project>
|
@@ -2,116 +2,69 @@
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
|
||||
<Import Project="$(MSBuildProjectName).props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<IsLineupPackage Condition="'$(PackageTargetRuntime)' == ''">true</IsLineupPackage>
|
||||
<PreventImplementationReference Condition="'$(PackageTargetRuntime)' != ''">true</PreventImplementationReference>
|
||||
<TargetFrameworkName>uap</TargetFrameworkName>
|
||||
<TargetFrameworkVersion>10.1</TargetFrameworkVersion>
|
||||
<TargetFramework>$(TargetFrameworkName)$(TargetFrameworkVersion)</TargetFramework>
|
||||
<SkipPackageFileCheck>true</SkipPackageFileCheck>
|
||||
<SkipValidatePackage>true</SkipValidatePackage>
|
||||
|
||||
<RefBinDir>$(UAPPackageRefPath)</RefBinDir>
|
||||
<LibBinDir>$(UAPPackageRuntimePath)</LibBinDir>
|
||||
<LibBinDir Condition="$(PackageTargetRuntime.EndsWith('-aot'))">$(UAPAOTPackageRuntimePath)</LibBinDir>
|
||||
|
||||
<NETStandardVersion>2.0</NETStandardVersion>
|
||||
<IsFrameworkPackage>true</IsFrameworkPackage>
|
||||
|
||||
<!-- Include symbols in package by default-->
|
||||
<!-- Private packages need symbols -->
|
||||
<IncludeSymbolsInPackage Condition="'$(IncludeSymbolsInPackage)' == ''">true</IncludeSymbolsInPackage>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Condition="'$(PackageTargetRuntime)' == ''" Project="$(RefBinDir)\*.props" />
|
||||
<ItemGroup Condition="'$(PackageTargetRuntime)' == ''">
|
||||
<!-- Include refs -->
|
||||
<File Include="@(FileToPackage)">
|
||||
<TargetPath Condition="'%(File.TargetPath)' == ''">ref/$(TargetFramework)</TargetPath>
|
||||
</File>
|
||||
<!-- force a missing file if ref build is absent -->
|
||||
<File Include="$(RefBinDir)/MISSING_REF_BUILD" Condition="'@(FileToPackage)' == ''" />
|
||||
|
||||
<_buildRIDWithMetadata Include="@(BuildRID)">
|
||||
<TargetRuntime>%(Identity)</TargetRuntime>
|
||||
<Version>$(PackageVersion)</Version>
|
||||
</_buildRIDWithMetadata>
|
||||
<Dependency Include="@(_buildRIDWithMetadata->'runtime.%(Identity).$(Id)')" />
|
||||
|
||||
<Dependency Include="Microsoft.NETCore.Platforms">
|
||||
<Version>$(PlatformPackageVersion)</Version>
|
||||
</Dependency>
|
||||
</ItemGroup>
|
||||
|
||||
<Import Condition="'$(PackageTargetRuntime)' != ''" Project="$(LibBinDir)\*.props" />
|
||||
<ItemGroup Condition="'$(PackageTargetRuntime)' != ''">
|
||||
<!-- Include lib -->
|
||||
<File Include="@(FileToPackage)">
|
||||
<TargetPath Condition="'%(File.TargetPath)' == ''">runtimes/$(PackageTargetRuntime)/lib/$(TargetFramework)</TargetPath>
|
||||
</File>
|
||||
<!-- force a missing file if lib build is absent -->
|
||||
<File Include="$(LibBinDir)/MISSING_LIB_BUILD" Condition="'@(FileToPackage)' == ''" />
|
||||
|
||||
<!-- Include native -->
|
||||
<ExcludeNative Include="$(NativeBinDir)/*.lib" />
|
||||
<NativeFile Include="$(NativeBinDir)/*.*" Exclude="@(ExcludeNative)">
|
||||
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
|
||||
</NativeFile>
|
||||
<File Include="@(NativeFile)" />
|
||||
<!-- force a missing file if native build is absent -->
|
||||
<File Include="$(NativeBinDir)/MISSING_NATIVE_BUILD" Condition="'@(NativeFile)' == ''" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<IgnoredReference Include="System.Private.CoreLib" />
|
||||
<IgnoredReference Include="Windows" />
|
||||
<IgnoredReference Include="System.Private.Interop" />
|
||||
<IgnoredReference Include="Microsoft.Win32.Registry" /> <!-- Ignore for now since it's being exclude from closure below. Issue https://github.com/dotnet/corefx/issues/15966 -->
|
||||
<IgnoredReference Include="System.IO.IsolatedStorage" /> <!-- Ignore for now since it's being exclude from closure below. Issue https://github.com/dotnet/corefx/issues/15968 -->
|
||||
|
||||
<ExcludeFromClosure Include="System.IO.IsolatedStorage" /> <!-- IsolatedStorage depends on AccessControl which is not available for UAP -->
|
||||
<ExcludeFromClosure Include="Microsoft.Win32.Registry" /> <!-- Most likely this one will be removed from the package, it's just there today for the closure -->
|
||||
<!-- Exclude shims from the closure verification -->
|
||||
<ExcludeFromClosure Include="mscorlib" />
|
||||
<ExcludeFromClosure Include="System" />
|
||||
<ExcludeFromClosure Include="System.Configuration" />
|
||||
<ExcludeFromClosure Include="System.Core" />
|
||||
<ExcludeFromClosure Include="System.Data" />
|
||||
<ExcludeFromClosure Include="System.Drawing" />
|
||||
<ExcludeFromClosure Include="System.Net" />
|
||||
<ExcludeFromClosure Include="System.Security" />
|
||||
<ExcludeFromClosure Include="System.ServiceProcess" />
|
||||
<ExcludeFromClosure Include="System.Transactions" />
|
||||
<ExcludeFromClosure Include="WindowsBase" />
|
||||
|
||||
<ExcludeFromDuplicateTypes Include="System.Private.Reflection.Metadata.Ecma335" />
|
||||
|
||||
<!-- Permit the following implementation-only assemblies -->
|
||||
<ValidatePackageSuppression Condition="'$(PackageTargetRuntime)' != ''" Include="PermitInbox">
|
||||
<Value>
|
||||
Microsoft.VisualBasic;
|
||||
System.Diagnostics.DiagnosticSource;
|
||||
System.Private.DataContractSerialization;
|
||||
System.Private.Uri;
|
||||
System.Private.Xml;
|
||||
System.Private.Xml.Linq;
|
||||
System.Reflection.Emit.ILGeneration;
|
||||
System.Reflection.Emit.Lightweight;
|
||||
System.Reflection.Emit;
|
||||
System.Security.AccessControl;
|
||||
System.Security.Cryptography.Cng;
|
||||
System.Security.Principal.Windows;
|
||||
System.Threading.Tasks.Extensions;
|
||||
</Value>
|
||||
</ValidatePackageSuppression>
|
||||
<ValidatePackageSuppression Condition="'$(PackageTargetRuntime)' != '' AND '$(TargetGroup)' == 'uapaot'" Include="PermitInbox">
|
||||
<Value>
|
||||
System.Private.Reflection.Metadata.Ecma335;
|
||||
</Value>
|
||||
</ValidatePackageSuppression>
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="VerifyClosure" AfterTargets="Build">
|
||||
<ItemGroup>
|
||||
<ExcludeFromClosure Include="System.IO.IsolatedStorage" /> <!-- IsolatedStorage depends on AccessControl which is not available for UAP -->
|
||||
<ExcludeFromClosure Include="Microsoft.Win32.Registry" /> <!-- Most likely this one will be removed from the package, it's just there today for the closure -->
|
||||
<!-- Exclude shims from the closure verification -->
|
||||
<ExcludeFromClosure Include="mscorlib" />
|
||||
<ExcludeFromClosure Include="System" />
|
||||
<ExcludeFromClosure Include="System.Core" />
|
||||
<ExcludeFromClosure Include="System.Data" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<_fileExisting Include="@(File)" Condition="Exists(%(FullPath))"/>
|
||||
|
||||
<_fileNames Include="@(_fileExisting -> '%(FileName)')" Exclude="@(ExcludeFromClosure)">
|
||||
<Original>%(_fileExisting.Identity)</Original>
|
||||
</_fileNames>
|
||||
<_filesFiltered Include="@(_fileNames->'%(Original)')" />
|
||||
</ItemGroup>
|
||||
|
||||
<VerifyClosure Sources="@(_filesFiltered)"
|
||||
IgnoredReferences="@(IgnoredReference)" />
|
||||
</Target>
|
||||
|
||||
<Target Name="VerifyNETStandard" AfterTargets="Build">
|
||||
<ItemGroup>
|
||||
<_NETStandardFile Include="$(PackagesDir)$(NETStandardPackageId)\$(NETStandardPackageVersion)\ref\netstandard$(NETStandardVersion)\*.dll" />
|
||||
<_NETStandardMissingFile Include="@(_NETStandardFile->'%(FileName)')" Exclude="@(File->'%(FileName)')" />
|
||||
<_NETStandardMissingFileError Include="@(_NETStandardMissingFile)" Exclude="@(SuppressNETStandardMissingFile)" />
|
||||
<_NETStandardSuppressedMissingFile Include="@(_NETStandardMissingFile)" Exclude="@(_NETStandardMissingFileError)" />
|
||||
</ItemGroup>
|
||||
<Message Condition="'@(_NETStandardSuppressedMissingFile)' != ''" Text="Files'@(_NETStandardSuppressedMissingFile)' are part of '$(NETStandardPackageId)' but missing from this package. This error has been suppressed." />
|
||||
<Error Condition="'@(_NETStandardMissingFileError)' != ''" Text="Files '@(_NETStandardMissingFileError)' are part of '$(NETStandardPackageId)' but missing from this package." />
|
||||
</Target>
|
||||
|
||||
<Target Name="GetSymbolPackageFiles" BeforeTargets="GetPackageFiles">
|
||||
<ItemGroup>
|
||||
<File>
|
||||
<IsSymbolFile Condition="'%(Extension)' == '.pdb'">true</IsSymbolFile>
|
||||
<IsSymbolFile Condition="'$(SymbolFileExtension)' != '' AND'%(Extension)' == '$(SymbolFileExtension)'">true</IsSymbolFile>
|
||||
</File>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
</Project>
|
||||
|
@@ -1,58 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<_runtimeOSVersionIndex>$(RuntimeOS.IndexOfAny(".-0123456789"))</_runtimeOSVersionIndex>
|
||||
<_runtimeOSFamily Condition="'$(_runtimeOSVersionIndex)' != '-1'">$(RuntimeOS.SubString(0, $(_runtimeOSVersionIndex)))</_runtimeOSFamily>
|
||||
<_aotSuffix Condition="'$(TargetGroup)' == 'uapaot'">-aot</_aotSuffix>
|
||||
</PropertyGroup>
|
||||
|
||||
<Choose>
|
||||
<When Condition="'$(PackageRID)' != ''" />
|
||||
<When Condition="'$(_runtimeOSFamily)' == 'win'">
|
||||
<PropertyGroup>
|
||||
<PackageRID Condition="'$(ArchGroup)' == 'x86' OR '$(ArchGroup)' == 'x64'">win7-$(ArchGroup)$(_aotSuffix)</PackageRID>
|
||||
<PackageRID Condition="'$(ArchGroup)' == 'arm'">win8-$(ArchGroup)$(_aotSuffix)</PackageRID>
|
||||
</PropertyGroup>
|
||||
</When>
|
||||
<Otherwise>
|
||||
<PropertyGroup>
|
||||
<PackageRID>$(RuntimeOS)-$(ArchGroup)</PackageRID>
|
||||
</PropertyGroup>
|
||||
</Otherwise>
|
||||
</Choose>
|
||||
|
||||
<ItemGroup>
|
||||
<OfficialBuildRID Include="win10-x86">
|
||||
<Platform>x86</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="win10-x64" />
|
||||
<OfficialBuildRID Include="win10-arm">
|
||||
<Platform>arm</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="win10-x86-aot">
|
||||
<Platform>x86</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="win10-x64-aot" />
|
||||
<OfficialBuildRID Include="win10-arm-aot">
|
||||
<Platform>arm</Platform>
|
||||
</OfficialBuildRID>
|
||||
|
||||
<!-- Ensure we have a RID-specific package for the current build, even if it isn't in our official set -->
|
||||
<BuildRID Include="@(OfficialBuildRID)" Exclude="$(PackageRID)"/>
|
||||
<BuildRID Include="$(PackageRID)">
|
||||
<Platform Condition="'$(ArchGroup)' == 'x64'">amd64</Platform>
|
||||
<Platform Condition="'$(ArchGroup)' != 'x64'">$(ArchGroup)</Platform>
|
||||
</BuildRID>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<_project Include="@(BuildRID)">
|
||||
<Platform Condition="'%(Platform)' == ''">amd64</Platform>
|
||||
<PackageTargetRuntime>%(Identity)</PackageTargetRuntime>
|
||||
<AdditionalProperties>PackageTargetRuntime=%(Identity);Platform=%(Platform)</AdditionalProperties>
|
||||
</_project>
|
||||
|
||||
<Project Include="@(_project->'$(MSBuildProjectName).pkgproj')" />
|
||||
</ItemGroup>
|
||||
</Project>
|
37
external/corefx/pkg/Microsoft.Private.CoreFx.UAP/uap.rids.props
vendored
Normal file
37
external/corefx/pkg/Microsoft.Private.CoreFx.UAP/uap.rids.props
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<_aotSuffix Condition="'$(TargetGroup)' == 'uapaot'">-aot</_aotSuffix>
|
||||
</PropertyGroup>
|
||||
|
||||
<Choose>
|
||||
<When Condition="'$(PackageRID)' != ''" />
|
||||
<When Condition="'$(_runtimeOSFamily)' == 'win'">
|
||||
<PropertyGroup>
|
||||
<PackageRID>win10-$(ArchGroup)$(_aotSuffix)</PackageRID>
|
||||
</PropertyGroup>
|
||||
</When>
|
||||
<Otherwise>
|
||||
<PropertyGroup>
|
||||
<PackageRID>$(RuntimeOS)-$(ArchGroup)</PackageRID>
|
||||
</PropertyGroup>
|
||||
</Otherwise>
|
||||
</Choose>
|
||||
|
||||
<ItemGroup>
|
||||
<OfficialBuildRID Include="win10-x86">
|
||||
<Platform>x86</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="win10-x64" />
|
||||
<OfficialBuildRID Include="win10-arm">
|
||||
<Platform>arm</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="win10-x86-aot">
|
||||
<Platform>x86</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="win10-x64-aot" />
|
||||
<OfficialBuildRID Include="win10-arm-aot">
|
||||
<Platform>arm</Platform>
|
||||
</OfficialBuildRID>
|
||||
</ItemGroup>
|
||||
</Project>
|
@@ -3,7 +3,7 @@
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<PackageVersion>2.0.0</PackageVersion>
|
||||
<PackageVersion>2.1.0</PackageVersion>
|
||||
<HarvestStablePackage>false</HarvestStablePackage>
|
||||
<SkipPackageFileCheck>true</SkipPackageFileCheck>
|
||||
<PackageIndexFileName>packageIndex.json</PackageIndexFileName>
|
||||
|
@@ -1 +1 @@
|
||||
51688ff84474968cfdacaa52a54a250dd4e27f0c
|
||||
43d797ce5bb8ecd3987a6df6088ed1002cdaa5fc
|
8
external/corefx/pkg/NETStandard.Library.NETFramework/Configurations.props
vendored
Normal file
8
external/corefx/pkg/NETStandard.Library.NETFramework/Configurations.props
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<BuildConfigurations>
|
||||
netfx;
|
||||
</BuildConfigurations>
|
||||
</PropertyGroup>
|
||||
</Project>
|
12
external/corefx/pkg/NETStandard.Library.NETFramework/NETStandard.Library.NETFramework.builds
vendored
Normal file
12
external/corefx/pkg/NETStandard.Library.NETFramework/NETStandard.Library.NETFramework.builds
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
|
||||
<!-- for official builds, only build during the AllConfigurations leg -->
|
||||
<ItemGroup Condition="'$(OfficialBuildId)' == '' Or '$(BuildAllConfigurations)' == 'true'">
|
||||
<Project Include="$(MSBuildProjectName).pkgproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
|
||||
|
||||
</Project>
|
162
external/corefx/pkg/NETStandard.Library.NETFramework/NETStandard.Library.NETFramework.pkgproj
vendored
Normal file
162
external/corefx/pkg/NETStandard.Library.NETFramework/NETStandard.Library.NETFramework.pkgproj
vendored
Normal file
@@ -0,0 +1,162 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" InitialTargets="IncludeFiles" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<PackageVersion>2.1.0</PackageVersion>
|
||||
<TargetFrameworkName>net</TargetFrameworkName>
|
||||
<TargetFrameworkVersion>461</TargetFrameworkVersion>
|
||||
<TargetFramework>$(TargetFrameworkName)$(TargetFrameworkVersion)</TargetFramework>
|
||||
|
||||
<RefBinDir>$(NetFxPackageRefPath)</RefBinDir>
|
||||
<LibBinDir>$(NetFxPackageRuntimePath)</LibBinDir>
|
||||
|
||||
<IsFrameworkPackage>true</IsFrameworkPackage>
|
||||
<IncludeLibFiles>true</IncludeLibFiles>
|
||||
|
||||
<!-- ValidatePackage doesn't evaluate our targets/props so it does
|
||||
not find any of the assets in this package -->
|
||||
<SkipValidatePackage>true</SkipValidatePackage>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<StampFile Include="targets\NETStandard.Library.NETFramework.common.props">
|
||||
<TargetPath>build</TargetPath>
|
||||
</StampFile>
|
||||
<File Include="targets\**\*.*" Exclude="@(StampFile)">
|
||||
<TargetPath>build/%(RecursiveDir)</TargetPath>
|
||||
</File>
|
||||
<File Include="$(PlaceHolderFile)">
|
||||
<TargetPath>build/net471</TargetPath>
|
||||
</File>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<!-- this file is meant to have dangling references, it's purpose is to force conflicts with
|
||||
any newer version of the original desktop contracts. -->
|
||||
<ExcludeFromClosure Include="netfx.force.conflicts" />
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="$(SourceDir)\shims\netfxreference.props" />
|
||||
|
||||
<Target Name="IncludeNETStandardShims">
|
||||
<ItemGroup>
|
||||
<_refFileNames Include="@(RefFile->'%(FileName)')" Condition="'%(Extension)' == '.dll'" />
|
||||
<_libFileNames Include="@(LibFile->'%(FileName)')" Condition="'%(Extension)' == '.dll'" />
|
||||
|
||||
<!-- remove any targeting pack assemblies that we build ourselves -->
|
||||
<_netFxReference Include="@(NetFxReference)" Exclude="@(_refFileNames);@(_libFileNames)" />
|
||||
|
||||
<!-- ignore any assemblies we expect to come from the targeting pack -->
|
||||
<IgnoredReference Include="@(_netFxReference)" />
|
||||
<SuppressNETStandardMissingFile Include="@(_netFxReference)" />
|
||||
|
||||
<!-- don't include shims for anything from the targeting pack or built explicitly -->
|
||||
<_excludeShimsRef Include="@(_netFxReference);@(_refFileNames)"/>
|
||||
<_excludeShimsLib Include="@(_netFxReference);@(_libFileNames)"/>
|
||||
|
||||
<!-- fill in with netstandard.dll-based shims -->
|
||||
<RefFile Include="$(NETStandardPackageRefPath)\*.dll" Exclude="@(_excludeShimsRef->'$(NETStandardPackageRefPath)\%(Identity).dll')">
|
||||
<TargetFramework>$(TargetFramework)</TargetFramework>
|
||||
</RefFile>
|
||||
<LibFile Include="$(NETStandardPackageRefPath)\*.dll" Exclude="@(_excludeShimsLib->'$(NETStandardPackageRefPath)\%(Identity).dll')">
|
||||
<TargetFramework>$(TargetFramework)</TargetFramework>
|
||||
</LibFile>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="StampPackageVersion" BeforeTargets="GetFiles" DependsOnTargets="CalculatePackageVersion">
|
||||
<ItemGroup>
|
||||
<StampFile>
|
||||
<StampedFile>$(IntermediateOutputPath)%(StampFile.RelativeDir)%(StampFile.FileName)%(StampFile.Extension)</StampedFile>
|
||||
</StampFile>
|
||||
</ItemGroup>
|
||||
|
||||
<MakeDir Directories="$([System.IO.Path]::GetDirectoryName('%(StampFile.StampedFile)'))" />
|
||||
<!-- Update targets templates -->
|
||||
<WriteLinesToFile
|
||||
File="%(StampFile.StampedFile)"
|
||||
Lines="$([System.IO.File]::ReadAllText('%(StampFile.FullPath)').Replace('{PACKAGE_VERSION}', $(PackageVersion)))"
|
||||
Overwrite="true"/>
|
||||
|
||||
<ItemGroup>
|
||||
<File Include="@(StampFile->'%(StampedFile)')" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="AddNETStandardLibraryReference" AfterTargets="ApplyBaselineToStaticDependencies">
|
||||
<ItemGroup>
|
||||
<!-- ApplyBaseline doesn't handle NuGet versions, so workaround that by
|
||||
adding after we've baselined.
|
||||
https://github.com/dotnet/buildtools/issues/1432 -->
|
||||
<Dependency Include="$(NETStandardPackageId)">
|
||||
<Version>$(NETStandardPackageVersion)</Version>
|
||||
<TargetFramework>$(TargetFramework)</TargetFramework>
|
||||
</Dependency>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="ExpandClosureFilesByTargetFramework"
|
||||
AfterTargets="GetClosureFiles"
|
||||
Inputs="%(ClosureFile.FileSet)"
|
||||
Outputs="batching-on-Closure-metadata">
|
||||
<ItemGroup>
|
||||
<_closureFileByFileName Include="@(ClosureFile->'%(FileName)')">
|
||||
<Original>%(Identity)</Original>
|
||||
</_closureFileByFileName>
|
||||
|
||||
<!-- Create items by framework that fallback to previous framework for non-existent files -->
|
||||
<!-- this could be done better if we used a test project that imported the actual shipping targets -->
|
||||
<_closureFileNet461 Include="@(_closureFileByFileName)" Condition="'%(_closureFileByFileName.TargetFramework)' == 'net461'" />
|
||||
<_closureFileNet462 Include="@(_closureFileByFileName)" Condition="'%(_closureFileByFileName.TargetFramework)' == 'net462'" />
|
||||
<_closureFileNet462 Include="@(_closureFileNet461)" Exclude="@(_closureFileNet462)" />
|
||||
<_closureFileNet47 Include="@(_closureFileByFileName)" Condition="'%(_closureFileByFileName.TargetFramework)' == 'net47'" />
|
||||
<_closureFileNet47 Include="@(_closureFileNet462)" Exclude="@(_closureFileNet47)" />
|
||||
|
||||
<!-- remove all the ones we're operating on, we'll replace with framework-specific closure sets -->
|
||||
<ClosureFile Remove="@(ClosureFile)" />
|
||||
|
||||
<ClosureFile Include="@(_closureFileNet461->'%(Original)')">
|
||||
<FileSet>%(FileSet)-net461</FileSet>
|
||||
</ClosureFile>
|
||||
|
||||
<ClosureFile Include="@(_closureFileNet462->'%(Original)')">
|
||||
<FileSet>%(FileSet)-net462</FileSet>
|
||||
</ClosureFile>
|
||||
|
||||
<ClosureFile Include="@(_closureFileNet47->'%(Original)')" >
|
||||
<FileSet>%(FileSet)-net47</FileSet>
|
||||
</ClosureFile>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
|
||||
<!-- runs as initial target, overrides IncludeFiles in frameworkPackage.targets to define TFM-specific TargetPath
|
||||
under the build folder -->
|
||||
<Target Name="IncludeFiles" DependsOnTargets="IncludeNETStandardShims">
|
||||
<PropertyGroup>
|
||||
<_projectDirLength>$(ProjectDir.Length)</_projectDirLength>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<!-- Include refs -->
|
||||
<File Include="@(RefFile)">
|
||||
<TargetPath Condition="'%(RefFile.TargetPath)' == ''">build/%(RefFile.TargetFramework)/ref%(RefFile.SubFolder)</TargetPath>
|
||||
</File>
|
||||
|
||||
<!-- Include lib -->
|
||||
<File Include="@(LibFile)">
|
||||
<TargetPath Condition="'%(LibFile.TargetPath)' == '' ">build/%(LibFile.TargetFramework)/lib%(LibFile.SubFolder)</TargetPath>
|
||||
</File>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<!-- Set targetpath for sources to be under src so that it is excluded from the lib package -->
|
||||
<File Condition="'%(File.IsSourceCodeFile)' == 'true'">
|
||||
<TargetPath>src</TargetPath>
|
||||
<TargetPath Condition="$([System.String]::Copy('%(FullPath)').StartsWith('$(ProjectDir)'))">src/$([System.String]::Copy('%(FullPath)').Substring($(_projectDirLength)).Replace('\', '/'))</TargetPath>
|
||||
</File>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
</Project>
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user