Imported Upstream version 5.2.0.175

Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-06-07 13:16:24 +00:00
parent 4bdbaf4a88
commit 966bba02bb
8776 changed files with 346420 additions and 149650 deletions

View File

@@ -1,17 +1,17 @@
#Runtime IDs
# Runtime IDs
The package `Microsoft.NETCore.Platforms` defines the runtime identifiers (RIDs) used by .NET packages to represent runtime-specific assets in NuGet packages.
##What is a RID?
## What is a RID?
A RID is an opaque string that identifies a platform. RIDs have relationships to other RIDs by "importing" the other RID. In that way a RID is a directed graph of compatible RIDs.
##How does NuGet use RIDs?
## How does NuGet use RIDs?
When NuGet is deciding which assets to use from a package and which packages to include NuGet will consider a RID if the project.json lists a RID in its `runtimes` section.
- NuGet chooses the best RID-specific asset, where best is determined by a breadth first traversal of the RID graph. Breadth ordering is document order.
- NuGet considers RID-specific assets for two asset types: lib and native.
- NuGet never considers RID-specific assets for compile.
###Best RID
### Best RID
Consider the partial RID-graph:
```
"any": {},
@@ -52,7 +52,7 @@ As such, best RID, when evaluating for win7-x64 would be:`win7-x64`, `win7`, `wi
Similarly, when evaluating for `win-x64`: `win-x64`, `win`, `any`
Note that `win7` comes before `win-x64` due to the import for `win7` appearing before the import for `win-x64` in document order.
###RID-qualified assets are preferred
### RID-qualified assets are preferred
NuGet will always prefer a RID-qualified asset over a RID-less asset. For example if a package contains
```
lib/netcoreapp1.0/foo.dll
@@ -75,18 +75,18 @@ runtimes/win/lib/netstandard1.0/foo.dll
```
When resolving for netstandard1.5/win7-x64 will select `lib/netstandard1.5/foo.dll` for the compile asset and `runtimes/win/lib/netstandard1.0/foo.dll` for the runtime asset.
##Adding new RIDs
## Adding new RIDs
###Why do I need to add a new RID?
### Why do I need to add a new RID?
NuGet's extensibility mechanism for platform-specific assets requires a RID be defined for any platform that needs assets specific to that platform. Unlike TFMs, which have a known relationship in NuGet (eg net4.5 is compatible with net4.0), RIDs are opaque strings which NuGet knows nothing about. The definition and relationship of RIDs comes solely from the `runtime.json` files within the root of the packages referenced by the project.
As such, whenever we want to put a new RID in a project.json in order to get assets specific for that RID we have to define the rid in some package. Typically that package is `Microsoft.NETCore.Platforms` if the RID is "official". If you'd like to prototype you can put the RID in any other package and so long as that package is referenced you can use that RID.
###Do I really need to add a new RID?
### Do I really need to add a new RID?
If you're prototyping on a platform that is compatible with an existing platform then you can reuse the RID for that exsisting platform. New RIDs are only needed when an asset needs to be different on a particular platform.
`Microsoft.NETCore.Platforms` attempts to define all RIDs that packages may need, and as such will define RIDs for platforms that we don't actually cross compile for. This is to support higher-level packages, 3rd party packages, that may need to cross-compile for that RID.
###Naming convention
### Naming convention
We use the following convention in all newly-defined RIDs. Some RIDs (win7-x64, win8-x64) predate this convention and don't follow it, but all new RIDs should follow it.
`[os name].[version]-[architecture]-[additional qualifiers]`, for example `osx.10.10-x64` or `ubuntu.14.04-x64`
- `[os name]` can contain any characters other than `.`
@@ -96,10 +96,10 @@ We use the following convention in all newly-defined RIDs. Some RIDs (win7-x64,
For all of these we strive to make them something that can be uniquely discoverable at runtime, so that a RID may be computed from an executing application. As such these properties should be derivable from `/etc/os-release` or similar platform APIs / data.
###Binary compatibility
### Binary compatibility
Binary compatibility is represented through imports. If a platform is considered binary compatible with another version of the same platform, or a specific version of another platform, then it can import that platform. This permits packages to reuse assets that were built for the imported platform on the compatible platform. Binary compatibility here is a bit nebulous because inevietably different platforms will have observable differences that can cause compatibility problems. For the purposes of RIDs we'll try to represent compatibility as versions of a platform that are explicitly advertised as being compatible with a previous version and/or another platform and don't have any known broad breaking changes.
###Import convention
### Import convention
Imports should be used when the added RID is considered compatible with an existing RID.
1. Architecture-specific RIDs should first import the architecture-less RID. EG: `osx.10.11-x64` should first import `osx.10.11`.

View File

@@ -7,6 +7,26 @@
"#import": [ "base" ]
},
"android": {
"#import": [ "any" ]
},
"android-arm": {
"#import": [ "any" ]
},
"android-arm64": {
"#import": [ "any" ]
},
"android.21": {
"#import": [ "android" ]
},
"android.21-arm": {
"#import": [ "android.21", "android-arm" ]
},
"android.21-arm64": {
"#import": [ "android.21", "android-arm64" ]
},
"win": {
"#import": [ "any" ]
},
@@ -363,6 +383,10 @@
"#import": [ "ubuntu", "debian-arm" ]
},
"ubuntu-arm64": {
"#import": [ "ubuntu", "debian-arm64" ]
},
"ubuntu.14.04": {
"#import": [ "ubuntu" ]
},
@@ -427,6 +451,9 @@
"ubuntu.16.04-arm": {
"#import": [ "ubuntu.16.04", "ubuntu-arm" ]
},
"ubuntu.16.04-arm64": {
"#import": [ "ubuntu.16.04", "ubuntu-arm64" ]
},
"ubuntu.16.10": {
"#import": [ "ubuntu" ]
@@ -440,6 +467,9 @@
"ubuntu.16.10-arm": {
"#import": [ "ubuntu.16.10", "ubuntu-arm" ]
},
"ubuntu.16.10-arm64": {
"#import": [ "ubuntu.16.10", "ubuntu-arm64" ]
},
"linuxmint.17": {
"#import": [ "ubuntu.14.04" ]
@@ -475,6 +505,12 @@
"linuxmint.18-x64": {
"#import": [ "linuxmint.18", "ubuntu.16.04-x64" ]
},
"linuxmint.18.1": {
"#import": [ "linuxmint.18" ]
},
"linuxmint.18.1-x64": {
"#import": [ "linuxmint.18.1", "linuxmint.18-x64" ]
},
"fedora": {
"#import": [ "linux" ]
@@ -497,6 +533,20 @@
"#import": [ "fedora.24", "fedora-x64" ]
},
"fedora.25": {
"#import": [ "fedora" ]
},
"fedora.25-x64": {
"#import": [ "fedora.25", "fedora-x64" ]
},
"fedora.26": {
"#import": [ "fedora" ]
},
"fedora.26-x64": {
"#import": [ "fedora.26", "fedora-x64" ]
},
"opensuse": {
"#import": [ "linux" ]
},
@@ -524,6 +574,12 @@
"alpine-x64": {
"#import": [ "alpine", "linux-x64" ]
},
"alpine-arm": {
"#import": [ "alpine", "linux-arm" ]
},
"alpine-arm64": {
"#import": [ "alpine", "linux-arm64" ]
},
"alpine.3": {
"#import": [ "alpine" ]
@@ -531,6 +587,12 @@
"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" ]
@@ -538,6 +600,12 @@
"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" ]
},
"corert": {
"#import": [ "any" ]
@@ -567,7 +635,7 @@
"#import": [ "win7-corert", "win8" ]
},
"win8-x86-corert": {
"#import": [ "win8-corert", "win7-x86-corert", "win8-x86"]
"#import": [ "win8-corert", "win7-x86-corert", "win8-x86" ]
},
"win8-x64-corert": {
"#import": [ "win8-corert", "win7-x64-corert", "win8-x64" ]
@@ -879,7 +947,7 @@
"#import": [ "opensuse-corert", "opensuse.13.2" ]
},
"opensuse.13.2-x64-corert": {
"#import": [ "opensuse.13.2-corert", "opensuse-x64-corert", "opensuse.13.2-x64" ]
"#import": [ "opensuse.13.2-corert", "opensuse-x64-corert", "opensuse.13.2-x64" ]
},
"opensuse.42.1-corert": {
@@ -912,4 +980,3 @@
}
}

View 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>
netcoreapp;
</BuildConfigurations>
</PropertyGroup>
</Project>

View File

@@ -27,6 +27,7 @@
<PropertyGroup>
<IsLineupPackage Condition="'$(PackageTargetRuntime)' == ''">true</IsLineupPackage>
<PreventImplementationReference Condition="'$(PackageTargetRuntime)' != ''">true</PreventImplementationReference>
<TargetFrameworkName>netcoreapp</TargetFrameworkName>
<TargetFrameworkVersion>2.0</TargetFrameworkVersion>
<TargetFramework>$(TargetFrameworkName)$(TargetFrameworkVersion)</TargetFramework>
@@ -39,32 +40,39 @@
<NETStandardLibraryPackage>NETStandard.Library2</NETStandardLibraryPackage>
<NETStandardLibraryPackageVersion>2.0.0-beta-24709-0</NETStandardLibraryPackageVersion>
<NETStandardVersion>2.0</NETStandardVersion>
<!-- Include symbols in package by default-->
<IncludeSymbolsInPackage Condition="'$(IncludeSymbolsInPackage)' == ''">true</IncludeSymbolsInPackage>
</PropertyGroup>
<Import Condition="'$(PackageTargetRuntime)' == ''" Project="$(RefBinDir)\*.props" />
<ItemGroup Condition="'$(PackageTargetRuntime)' == ''">
<ProjectReference Include="@(Project)" />
<!-- Include refs -->
<RefFile Include="$(RefBinDir)/*.*">
<TargetPath>ref/$(TargetFramework)</TargetPath>
</RefFile>
<File Include="@(RefFile)" />
<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="'@(RefFile)' == ''" />
<File Include="$(RefBinDir)/MISSING_REF_BUILD" Condition="'@(FileToPackage)' == ''" />
<FilePackageDependency Include="Microsoft.NETCore.Platforms">
<_buildRIDWithMetadata Include="@(BuildRID)">
<TargetRuntime>%(Identity)</TargetRuntime>
<Version>$(PackageVersion)</Version>
</_buildRIDWithMetadata>
<Dependency Include="@(_buildRIDWithMetadata->'runtime.%(Identity).$(Id)')" />
<Dependency Include="Microsoft.NETCore.Platforms">
<Version>$(PlatformPackageVersion)</Version>
</FilePackageDependency>
</Dependency>
</ItemGroup>
<Import Condition="'$(PackageTargetRuntime)' != ''" Project="$(LibBinDir)\*.props" />
<ItemGroup Condition="'$(PackageTargetRuntime)' != ''">
<!-- Include lib -->
<LibFile Include="$(LibBinDir)/*.*">
<TargetPath>runtimes/$(PackageTargetRuntime)/lib/$(TargetFramework)</TargetPath>
</LibFile>
<File Include="@(LibFile)" />
<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="'@(LibFile)' == ''" />
<File Include="$(LibBinDir)/MISSING_LIB_BUILD" Condition="'@(FileToPackage)' == ''" />
<!-- Include native -->
<ExcludeNative Include="$(NativeBinDir)/*.lib" />
@@ -84,14 +92,9 @@
<ItemGroup>
<!-- Exclude shims from the closure verification -->
<ExcludeFromClosure Include="mscorlib" />
<ExcludeFromClosure Include="System.Core" />
<ExcludeFromClosure Include="System" />
<ExcludeFromClosure Include="System.Drawing" />
<ExcludeFromClosure Include="System.Numerics" />
<ExcludeFromClosure Include="System.Runtime.Serialization" />
<ExcludeFromClosure Include="System.Web" />
<ExcludeFromClosure Include="System.Xml" />
<ExcludeFromClosure Include="System.Xml.Linq" />
<ExcludeFromClosure Include="System.Core" />
<ExcludeFromClosure Include="System.Data" />
</ItemGroup>
<ItemGroup>

View File

@@ -1,11 +1,11 @@
<?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'">
@@ -17,7 +17,7 @@
</When>
<When Condition="'$(_runtimeOSFamily)' == 'osx'">
<PropertyGroup>
<PackageRID>osx.10.10-$(ArchGroup)</PackageRID>
<PackageRID>osx.10.12-$(ArchGroup)</PackageRID>
</PropertyGroup>
</When>
<When Condition="'$(_runtimeOSFamily)' == 'rhel'">
@@ -43,7 +43,7 @@
<OfficialBuildRID Include="linux-x64" />
<OfficialBuildRID Include="opensuse.13.2-x64" />
<OfficialBuildRID Include="opensuse.42.1-x64" />
<OfficialBuildRID Include="osx.10.10-x64" />
<OfficialBuildRID Include="osx.10.12-x64" />
<OfficialBuildRID Include="rhel.7-x64" />
<OfficialBuildRID Include="tizen.4.0.0-armel">
<Platform>armel</Platform>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<BuildConfigurations>
uap;
uapaot;
</BuildConfigurations>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,34 @@
<?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" />
<Import Project="$(MSBuildProjectName).props" />
<ItemGroup>
<!-- identity project, runtime specific projects are included by props above. Will not be built on uapaot builds. -->
<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>

View File

@@ -0,0 +1,117 @@
<?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" />
<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>
<!-- Include symbols in package by default-->
<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 -->
</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>

View File

@@ -0,0 +1,58 @@
<?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>

View File

@@ -29,11 +29,24 @@
<Target Name="UpdateFromLocalBuild">
<ItemGroup>
<AllPackages Include="$(PackageOutputPath)\*.nupkg" />
<AllPackages Include="$(PackageOutputPath)\*.nupkg" Exclude="$(PackageOutputPath)\*Microsoft.Private.*.nupkg" />
<FrameworkLayout Include="$(NETCoreAppPackageRefPath)">
<TargetFramework>netcoreapp2.0</TargetFramework>
</FrameworkLayout>
<FrameworkLayout Include="$(UAPPackageRefPath)">
<TargetFramework>uap10.1</TargetFramework>
</FrameworkLayout>
<FrameworkLayout Include="$(PackagesDir)$(NETStandardPackageId)\$(NETStandardPackageVersion)\build\netstandard2.0\ref">
<TargetFramework>netstandard2.0</TargetFramework>
</FrameworkLayout>
<FrameworkLayout Include="$(PackagesDir)$(NETStandardPackageId)\$(NETStandardPackageVersion)\build\net461\ref">
<TargetFramework>net461</TargetFramework>
</FrameworkLayout>
</ItemGroup>
<UpdatePackageIndex PackageIndexFile="$(PackageIndexFile)"
Packages="@(AllPackages)" />
Packages="@(AllPackages)"
InboxFrameworkLayoutFolders="@(FrameworkLayout)" />
</Target>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@
51688ff84474968cfdacaa52a54a250dd4e27f0c

View File

@@ -1,282 +0,0 @@
{
"frameworks": {
"netstandard1.6": {
"dependencies": {
"Microsoft.CSharp": "4.3.0",
"Microsoft.NETCore.Platforms": "1.1.0",
"Microsoft.NETCore.Targets": "1.1.0",
"Microsoft.VisualBasic": "10.1.0",
"Microsoft.Win32.Primitives": "4.3.0",
"Microsoft.Win32.Registry": "4.3.0",
"Microsoft.Win32.Registry.AccessControl": "4.3.0",
"NETStandard.Library": "1.6.1",
"runtime.any.System.Collections": "4.3.0",
"runtime.any.System.Diagnostics.Tools": "4.3.0",
"runtime.any.System.Diagnostics.Tracing": "4.3.0",
"runtime.any.System.Globalization": "4.3.0",
"runtime.any.System.Globalization.Calendars": "4.3.0",
"runtime.any.System.IO": "4.3.0",
"runtime.any.System.Reflection": "4.3.0",
"runtime.any.System.Reflection.Extensions": "4.3.0",
"runtime.any.System.Reflection.Primitives": "4.3.0",
"runtime.any.System.Resources.ResourceManager": "4.3.0",
"runtime.any.System.Runtime": "4.3.0",
"runtime.any.System.Runtime.Handles": "4.3.0",
"runtime.any.System.Runtime.InteropServices": "4.3.0",
"runtime.any.System.Text.Encoding": "4.3.0",
"runtime.any.System.Text.Encoding.Extensions": "4.3.0",
"runtime.any.System.Threading.Tasks": "4.3.0",
"runtime.any.System.Threading.Timer": "4.3.0",
"runtime.aot.System.Collections": "4.3.0",
"runtime.aot.System.Diagnostics.Tools": "4.3.0",
"runtime.aot.System.Diagnostics.Tracing": "4.3.0",
"runtime.aot.System.Globalization": "4.3.0",
"runtime.aot.System.Globalization.Calendars": "4.3.0",
"runtime.aot.System.IO": "4.3.0",
"runtime.aot.System.Reflection": "4.3.0",
"runtime.aot.System.Reflection.Extensions": "4.3.0",
"runtime.aot.System.Reflection.Primitives": "4.3.0",
"runtime.aot.System.Resources.ResourceManager": "4.3.0",
"runtime.aot.System.Runtime": "4.3.0",
"runtime.aot.System.Runtime.Handles": "4.3.0",
"runtime.aot.System.Runtime.InteropServices": "4.3.0",
"runtime.aot.System.Text.Encoding": "4.3.0",
"runtime.aot.System.Text.Encoding.Extensions": "4.3.0",
"runtime.aot.System.Threading.Tasks": "4.3.0",
"runtime.aot.System.Threading.Timer": "4.3.0",
"runtime.debian.8-x64.runtime.native.System": "4.3.0",
"runtime.debian.8-x64.runtime.native.System.IO.Compression": "4.3.0",
"runtime.debian.8-x64.runtime.native.System.Net.Http": "4.3.0",
"runtime.debian.8-x64.runtime.native.System.Net.Security": "4.3.0",
"runtime.debian.8-x64.runtime.native.System.Security.Cryptography": "4.3.0",
"runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0",
"runtime.fedora.23-x64.runtime.native.System": "4.3.0",
"runtime.fedora.23-x64.runtime.native.System.IO.Compression": "4.3.0",
"runtime.fedora.23-x64.runtime.native.System.Net.Http": "4.3.0",
"runtime.fedora.23-x64.runtime.native.System.Net.Security": "4.3.0",
"runtime.fedora.23-x64.runtime.native.System.Security.Cryptography": "4.3.0",
"runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0",
"runtime.fedora.24-x64.runtime.native.System": "4.3.0",
"runtime.fedora.24-x64.runtime.native.System.IO.Compression": "4.3.0",
"runtime.fedora.24-x64.runtime.native.System.Net.Http": "4.3.0",
"runtime.fedora.24-x64.runtime.native.System.Net.Security": "4.3.0",
"runtime.fedora.24-x64.runtime.native.System.Security.Cryptography": "4.3.0",
"runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0",
"runtime.native.System": "4.3.0",
"runtime.native.System.Data.SqlClient.sni": "4.3.0",
"runtime.native.System.IO.Compression": "4.3.0",
"runtime.native.System.Net.Http": "4.3.0",
"runtime.native.System.Net.Security": "4.3.0",
"runtime.native.System.Security.Cryptography": "4.3.0",
"runtime.native.System.Security.Cryptography.Apple": "4.3.0",
"runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0",
"runtime.opensuse.13.2-x64.runtime.native.System": "4.3.0",
"runtime.opensuse.13.2-x64.runtime.native.System.IO.Compression": "4.3.0",
"runtime.opensuse.13.2-x64.runtime.native.System.Net.Http": "4.3.0",
"runtime.opensuse.13.2-x64.runtime.native.System.Net.Security": "4.3.0",
"runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography": "4.3.0",
"runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0",
"runtime.opensuse.42.1-x64.runtime.native.System": "4.3.0",
"runtime.opensuse.42.1-x64.runtime.native.System.IO.Compression": "4.3.0",
"runtime.opensuse.42.1-x64.runtime.native.System.Net.Http": "4.3.0",
"runtime.opensuse.42.1-x64.runtime.native.System.Net.Security": "4.3.0",
"runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography": "4.3.0",
"runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0",
"runtime.osx.10.10-x64.runtime.native.System": "4.3.0",
"runtime.osx.10.10-x64.runtime.native.System.IO.Compression": "4.3.0",
"runtime.osx.10.10-x64.runtime.native.System.Net.Http": "4.3.0",
"runtime.osx.10.10-x64.runtime.native.System.Net.Security": "4.3.0",
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography": "4.3.0",
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "4.3.0",
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0",
"runtime.rhel.7-x64.runtime.native.System": "4.3.0",
"runtime.rhel.7-x64.runtime.native.System.IO.Compression": "4.3.0",
"runtime.rhel.7-x64.runtime.native.System.Net.Http": "4.3.0",
"runtime.rhel.7-x64.runtime.native.System.Net.Security": "4.3.0",
"runtime.rhel.7-x64.runtime.native.System.Security.Cryptography": "4.3.0",
"runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0",
"runtime.ubuntu.14.04-x64.runtime.native.System": "4.3.0",
"runtime.ubuntu.14.04-x64.runtime.native.System.IO.Compression": "4.3.0",
"runtime.ubuntu.14.04-x64.runtime.native.System.Net.Http": "4.3.0",
"runtime.ubuntu.14.04-x64.runtime.native.System.Net.Security": "4.3.0",
"runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography": "4.3.0",
"runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0",
"runtime.ubuntu.16.04-x64.runtime.native.System": "4.3.0",
"runtime.ubuntu.16.04-x64.runtime.native.System.IO.Compression": "4.3.0",
"runtime.ubuntu.16.04-x64.runtime.native.System.Net.Http": "4.3.0",
"runtime.ubuntu.16.04-x64.runtime.native.System.Net.Security": "4.3.0",
"runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography": "4.3.0",
"runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0",
"runtime.ubuntu.16.10-x64.runtime.native.System": "4.3.0",
"runtime.ubuntu.16.10-x64.runtime.native.System.IO.Compression": "4.3.0",
"runtime.ubuntu.16.10-x64.runtime.native.System.Net.Http": "4.3.0",
"runtime.ubuntu.16.10-x64.runtime.native.System.Net.Security": "4.3.0",
"runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography": "4.3.0",
"runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0",
"runtime.unix.Microsoft.Win32.Primitives": "4.3.0",
"runtime.unix.System.Console": "4.3.0",
"runtime.unix.System.Diagnostics.Debug": "4.3.0",
"runtime.unix.System.IO.FileSystem": "4.3.0",
"runtime.unix.System.Net.Primitives": "4.3.0",
"runtime.unix.System.Net.Sockets": "4.3.0",
"runtime.unix.System.Private.Uri": "4.3.0",
"runtime.unix.System.Runtime.Extensions": "4.3.0",
"runtime.win.Microsoft.Win32.Primitives": "4.3.0",
"runtime.win.System.Console": "4.3.0",
"runtime.win.System.Diagnostics.Debug": "4.3.0",
"runtime.win.System.IO.FileSystem": "4.3.0",
"runtime.win.System.Net.Primitives": "4.3.0",
"runtime.win.System.Net.Sockets": "4.3.0",
"runtime.win.System.Runtime.Extensions": "4.3.0",
"runtime.win10-arm64.runtime.native.System.IO.Compression": "4.3.0",
"runtime.win7.System.Private.Uri": "4.3.0",
"runtime.win7-x64.runtime.native.System.IO.Compression": "4.3.0",
"runtime.win7-x86.runtime.native.System.IO.Compression": "4.3.0",
"runtime.win8-arm.runtime.native.System.IO.Compression": "4.3.0",
"System.AppContext": "4.3.0",
"System.Buffers": "4.3.0",
"System.Collections": "4.3.0",
"System.Collections.Concurrent": "4.3.0",
"System.Collections.Immutable": "1.3.0",
"System.Collections.NonGeneric": "4.3.0",
"System.Collections.Specialized": "4.3.0",
"System.ComponentModel": "4.3.0",
"System.ComponentModel.Annotations": "4.3.0",
"System.ComponentModel.EventBasedAsync": "4.3.0",
"System.ComponentModel.Primitives": "4.3.0",
"System.ComponentModel.TypeConverter": "4.3.0",
"System.Composition": "1.0.31",
"System.Composition.AttributedModel": "1.0.31",
"System.Composition.Convention": "1.0.31",
"System.Composition.Hosting": "1.0.31",
"System.Composition.Runtime": "1.0.31",
"System.Composition.TypedParts": "1.0.31",
"System.Console": "4.3.0",
"System.Data.Common": "4.3.0",
"System.Data.SqlClient": "4.3.0",
"System.Diagnostics.Contracts": "4.3.0",
"System.Diagnostics.Debug": "4.3.0",
"System.Diagnostics.DiagnosticSource": "4.3.0",
"System.Diagnostics.FileVersionInfo": "4.3.0",
"System.Diagnostics.Process": "4.3.0",
"System.Diagnostics.StackTrace": "4.3.0",
"System.Diagnostics.TextWriterTraceListener": "4.3.0",
"System.Diagnostics.Tools": "4.3.0",
"System.Diagnostics.TraceSource": "4.3.0",
"System.Diagnostics.Tracing": "4.3.0",
"System.Drawing.Primitives": "4.3.0",
"System.Dynamic.Runtime": "4.3.0",
"System.Globalization": "4.3.0",
"System.Globalization.Calendars": "4.3.0",
"System.Globalization.Extensions": "4.3.0",
"System.IO": "4.3.0",
"System.IO.Compression": "4.3.0",
"System.IO.Compression.ZipFile": "4.3.0",
"System.IO.FileSystem": "4.3.0",
"System.IO.FileSystem.AccessControl": "4.3.0",
"System.IO.FileSystem.DriveInfo": "4.3.0",
"System.IO.FileSystem.Primitives": "4.3.0",
"System.IO.FileSystem.Watcher": "4.3.0",
"System.IO.IsolatedStorage": "4.3.0",
"System.IO.MemoryMappedFiles": "4.3.0",
"System.IO.Packaging": "4.3.0",
"System.IO.Pipes": "4.3.0",
"System.IO.Pipes.AccessControl": "4.3.0",
"System.IO.UnmanagedMemoryStream": "4.3.0",
"System.Linq": "4.3.0",
"System.Linq.Expressions": "4.3.0",
"System.Linq.Parallel": "4.3.0",
"System.Linq.Queryable": "4.3.0",
"System.Net.Http": "4.3.0",
"System.Net.Http.Rtc": "4.3.0",
"System.Net.Http.WinHttpHandler": "4.3.0",
"System.Net.NameResolution": "4.3.0",
"System.Net.NetworkInformation": "4.3.0",
"System.Net.Ping": "4.3.0",
"System.Net.Primitives": "4.3.0",
"System.Net.Requests": "4.3.0",
"System.Net.Security": "4.3.0",
"System.Net.Sockets": "4.3.0",
"System.Net.WebHeaderCollection": "4.3.0",
"System.Net.WebSockets": "4.3.0",
"System.Net.WebSockets.Client": "4.3.0",
"System.Numerics.Vectors": "4.3.0",
"System.ObjectModel": "4.3.0",
"System.Private.DataContractSerialization": "4.3.0",
"System.Private.Uri": "4.3.0",
"System.Reflection": "4.3.0",
"System.Reflection.Context": "4.3.0",
"System.Reflection.DispatchProxy": "4.3.0",
"System.Reflection.Emit": "4.3.0",
"System.Reflection.Emit.ILGeneration": "4.3.0",
"System.Reflection.Emit.Lightweight": "4.3.0",
"System.Reflection.Extensions": "4.3.0",
"System.Reflection.Metadata": "1.4.1",
"System.Reflection.Primitives": "4.3.0",
"System.Reflection.TypeExtensions": "4.3.0",
"System.Resources.Reader": "4.3.0",
"System.Resources.ResourceManager": "4.3.0",
"System.Resources.Writer": "4.3.0",
"System.Runtime": "4.3.0",
"System.Runtime.CompilerServices.Unsafe": "4.3.0",
"System.Runtime.CompilerServices.VisualC": "4.3.0",
"System.Runtime.Extensions": "4.3.0",
"System.Runtime.Handles": "4.3.0",
"System.Runtime.InteropServices": "4.3.0",
"System.Runtime.InteropServices.RuntimeInformation": "4.3.0",
"System.Runtime.InteropServices.WindowsRuntime": "4.3.0",
"System.Runtime.Loader": "4.3.0",
"System.Runtime.Numerics": "4.3.0",
"System.Runtime.Serialization.Formatters": "4.3.0",
"System.Runtime.Serialization.Json": "4.3.0",
"System.Runtime.Serialization.Primitives": "4.3.0",
"System.Runtime.Serialization.Xml": "4.3.0",
"System.Runtime.WindowsRuntime": "4.3.0",
"System.Runtime.WindowsRuntime.UI.Xaml": "4.3.0",
"System.Security.AccessControl": "4.3.0",
"System.Security.Claims": "4.3.0",
"System.Security.Cryptography.Algorithms": "4.3.0",
"System.Security.Cryptography.Cng": "4.3.0",
"System.Security.Cryptography.Csp": "4.3.0",
"System.Security.Cryptography.Encoding": "4.3.0",
"System.Security.Cryptography.OpenSsl": "4.3.0",
"System.Security.Cryptography.Pkcs": "4.3.0",
"System.Security.Cryptography.Primitives": "4.3.0",
"System.Security.Cryptography.ProtectedData": "4.3.0",
"System.Security.Cryptography.X509Certificates": "4.3.0",
"System.Security.Principal": "4.3.0",
"System.Security.Principal.Windows": "4.3.0",
"System.Security.SecureString": "4.3.0",
"System.ServiceProcess.ServiceController": "4.3.0",
"System.Text.Encoding": "4.3.0",
"System.Text.Encoding.CodePages": "4.3.0",
"System.Text.Encoding.Extensions": "4.3.0",
"System.Text.Encodings.Web": "4.3.0",
"System.Text.RegularExpressions": "4.3.0",
"System.Threading": "4.3.0",
"System.Threading.AccessControl": "4.3.0",
"System.Threading.Overlapped": "4.3.0",
"System.Threading.Tasks": "4.3.0",
"System.Threading.Tasks.Dataflow": "4.7.0",
"System.Threading.Tasks.Extensions": "4.3.0",
"System.Threading.Tasks.Parallel": "4.3.0",
"System.Threading.Thread": "4.3.0",
"System.Threading.ThreadPool": "4.3.0",
"System.Threading.Timer": "4.3.0",
"System.ValueTuple": "4.3.0",
"System.Xml.ReaderWriter": "4.3.0",
"System.Xml.XDocument": "4.3.0",
"System.Xml.XmlDocument": "4.3.0",
"System.Xml.XmlSerializer": "4.3.0",
"System.Xml.XPath": "4.3.0",
"System.Xml.XPath.XDocument": "4.3.0",
"System.Xml.XPath.XmlDocument": "4.3.0"
}
},
"uap10.0": {
"dependencies": {
"System.Numerics.Vectors.WindowsRuntime": "4.3.0"
}
}
}
}

View File

@@ -115,6 +115,11 @@
"Description": "Package used to represent the portions of NETCoreApp that come from CoreFx.",
"CommonTypes": []
},
{
"Name": "Microsoft.Private.CoreFx.UAP",
"Description": "Package used to represent the portions of UAP that come from CoreFx.",
"CommonTypes": []
},
{
"Name": "Microsoft.TargetingPack.NETFramework.v4.6",
"Description": "Contains the .NET Framework v4.6 targeting pack.",
@@ -400,7 +405,7 @@
]
},
{
"Name": "System.Configuration",
"Name": "System.Configuration.ConfigurationManager",
"Description": "Provides types that support using configuration files.",
"CommonTypes": [
"System.Configuration.Configuration",
@@ -782,6 +787,13 @@
"System.IO.Pipes.PipeAccessRights"
]
},
{
"Name": "System.IO.Ports",
"Description": "Provides classes for controlling serial ports.",
"CommonTypes": [
"System.IO.Ports.SerialPort"
]
},
{
"Name": "System.IO.UnmanagedMemoryStream",
"Description": "Provides classes for access to unmanaged blocks of memory from managed code.",
@@ -1525,6 +1537,51 @@
"System.Security.Cryptography.ProtectedData"
]
},
{
"Name": "System.Security.Cryptography.Xml",
"Description": "Provides classes to support the creation and validation of XML digital signatures. The classes in this namespace implement the World Wide Web Consortium Recommendation, \"XML-Signature Syntax and Processing\", described at http://www.w3.org/TR/xmldsig-core/.",
"CommonTypes": [
"System.Security.Cryptography.Xml.CipherData",
"System.Security.Cryptography.Xml.CipherReference",
"System.Security.Cryptography.Xml.DataObject",
"System.Security.Cryptography.Xml.DataReference",
"System.Security.Cryptography.Xml.DSAKeyValue",
"System.Security.Cryptography.Xml.EncryptedData",
"System.Security.Cryptography.Xml.EncryptedKey",
"System.Security.Cryptography.Xml.EncryptedReference",
"System.Security.Cryptography.Xml.EncryptedType",
"System.Security.Cryptography.Xml.EncryptedXml",
"System.Security.Cryptography.Xml.EncryptionMethod",
"System.Security.Cryptography.Xml.EncryptionProperty",
"System.Security.Cryptography.Xml.EncryptionPropertyCollection",
"System.Security.Cryptography.Xml.KeyInfo",
"System.Security.Cryptography.Xml.KeyInfoClause",
"System.Security.Cryptography.Xml.KeyInfoEncryptedKey",
"System.Security.Cryptography.Xml.KeyInfoName",
"System.Security.Cryptography.Xml.KeyInfoNode",
"System.Security.Cryptography.Xml.KeyInfoRetrievalMethod",
"System.Security.Cryptography.Xml.KeyInfoX509Data",
"System.Security.Cryptography.Xml.KeyReference",
"System.Security.Cryptography.Xml.Reference",
"System.Security.Cryptography.Xml.ReferenceList",
"System.Security.Cryptography.Xml.RSAKeyValue",
"System.Security.Cryptography.Xml.Signature",
"System.Security.Cryptography.Xml.SignedInfo",
"System.Security.Cryptography.Xml.SignedXml",
"System.Security.Cryptography.Xml.Transform",
"System.Security.Cryptography.Xml.TransformChain",
"System.Security.Cryptography.Xml.XmlDecryptionTransform",
"System.Security.Cryptography.Xml.XmlDsigBase64Transform",
"System.Security.Cryptography.Xml.XmlDsigC14NTransform",
"System.Security.Cryptography.Xml.XmlDsigC14NWithCommentsTransform",
"System.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform",
"System.Security.Cryptography.Xml.XmlDsigExcC14NTransform",
"System.Security.Cryptography.Xml.XmlDsigExcC14NWithCommentsTransform",
"System.Security.Cryptography.Xml.XmlDsigXPathTransform",
"System.Security.Cryptography.Xml.XmlDsigXsltTransform",
"System.Security.Cryptography.Xml.XmlLicenseTransform"
]
},
{
"Name": "System.Security.Cryptography.X509Certificates",
"Description": "Provides types for reading, exporting and verifying Authenticode X.509 v3 certificates. These certificates are signed with a private key that uniquely and positively identifies the holder of the certificate.",
@@ -1818,7 +1875,7 @@
]
},
{
"Name": "System.Transactions",
"Name": "System.Transactions.Local",
"Description": "Provides classes that allow you to write your own transactional application and resource manager.",
"CommonTypes": [
"System.Transactions.Transaction",

29
external/corefx/pkg/dir.targets vendored Normal file
View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" InitialTargets="CheckForBuildTools" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\dir.targets" />
<Target Name="ApplyBaselineToStaticDependencies"
BeforeTargets="AssignPkgProjPackageDependenciesTargetFramework"
Condition="'@(Dependency)' != ''">
<ApplyBaseLine OriginalDependencies="@(Dependency)"
BaseLinePackages="@(BaseLinePackage)"
PackageIndexes="@(PackageIndex)"
Apply="$(BaseLinePackageDependencies)">
<Output TaskParameter="BaseLinedDependencies" ItemName="_BaseLinedStaticDependencies" />
</ApplyBaseLine>
<ApplyPreReleaseSuffix Condition="'@(_BaseLinedStaticDependencies)' != ''"
OriginalPackages="@(_BaseLinedStaticDependencies)"
StablePackages="@(StablePackage)"
PackageIndexes="@(PackageIndex)"
PreReleaseSuffix="$(VersionSuffix)">
<Output TaskParameter="UpdatedPackages" ItemName="_SuffixedStaticDependencies"/>
</ApplyPreReleaseSuffix>
<ItemGroup>
<Dependency Remove="@(Dependency)" />
<Dependency Include="@(_SuffixedStaticDependencies)" />
</ItemGroup>
</Target>
</Project>

View File

@@ -0,0 +1,11 @@
{
"dependencies": {
"{PackageId}": "{PackageVersion}"
},
"frameworks": {
"{TFM}": { }
},
"runtimes": {
{RuntimeSection}
}
}

View File

@@ -0,0 +1,77 @@
<?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>
<PackageReports Condition="'$(TestPackage)' == ''" Include="$(PackageReportDir)*.json" />
<PackageReports Condition="'$(TestPackage)' != ''" Include="$(PackageReportDir)$(TestPackage).json" />
<!-- restrict restore sources to the current build and publicly shipped packages -->
<RestoreSource Include="$(PackageOutputPath)" />
<RestoreSource Include="https:%2F%2Fapi.nuget.org/v3/index.json" />
<!-- needed for SQLClient's SNI packages -->
<RestoreSource Include="https:%2F%2Fdotnet.myget.org/F/dotnet-core/api/v3/index.json" />
</ItemGroup>
<PropertyGroup>
<TestProjectDir>$(PackageOutputPath)projects/</TestProjectDir>
<TestPackageDir>$(BinDir)testPackages</TestPackageDir>
<TestRestoreCommand>$(DotnetToolCommand)</TestRestoreCommand>
<TestRestoreCommand>$(TestRestoreCommand) restore</TestRestoreCommand>
<TestRestoreCommand>$(TestRestoreCommand) @(RestoreSource->'-s %(Identity)', ' ')</TestRestoreCommand>
<TestRestoreCommand>$(TestRestoreCommand) --packages "$(TestPackageDir)"</TestRestoreCommand>
</PropertyGroup>
<Target Name="GetSupportedPackages">
<GetSupportedPackagesFromPackageReports PackageReports="@(PackageReports)">
<Output TaskParameter="SupportedPackages" ItemName="SupportedPackage"/>
</GetSupportedPackagesFromPackageReports>
</Target>
<Target Name="GenerateProjects"
DependsOnTargets="GetSupportedPackages"
Inputs="@(PackageReports)"
Outputs="$(TestProjectDir)%(SupportedPackage.Identity)/%(SupportedPackage.TargetFramework)/project.json">
<ItemGroup>
<_projectRuntimes Remove="@(_projectRuntimes)" />
<_projectRuntimes Include="%(SupportedPackage.RuntimeIdentifiers)" />
</ItemGroup>
<PropertyGroup>
<_projectDir>$(TestProjectDir)%(SupportedPackage.Identity)/%(SupportedPackage.TargetFramework)/</_projectDir>
<_projectFile>$(_projectDir)project.json</_projectFile>
<_packageId>%(SupportedPackage.Identity)</_packageId>
<_packageVersion>%(SupportedPackage.Version)</_packageVersion>
<_projectTFM>%(SupportedPackage.TargetFramework)</_projectTFM>
<_projectRuntimeSection />
<_projectRuntimeSection Condition="'@(_projectRuntimes)' != ''">@(_projectRuntimes->'"%(Identity)": {}', ', ')</_projectRuntimeSection>
</PropertyGroup>
<MakeDir Directories="$(_projectDir)" />
<!-- Update project.json template -->
<WriteLinesToFile
File="$(_projectFile)"
Lines="$([System.IO.File]::ReadAllText('project.template.json').Replace('{PackageId}', $(_packageId)).Replace('{PackageVersion}', $(_packageVersion)).Replace('{TFM}', $(_projectTFM)).Replace('{RuntimeSection}', $(_projectRuntimeSection)))"
Overwrite="true" />
<Message Text="Generated $(_projectFile)" />
</Target>
<Target Name="RestoreProjects"
DependsOnTargets="GenerateProjects"
Inputs="$(TestProjectDir)%(SupportedPackage.Identity)/%(SupportedPackage.TargetFramework)/project.json"
Outputs="$(TestProjectDir)%(SupportedPackage.Identity)'%(SupportedPackage.TargetFramework)/project.lock.json">
<PropertyGroup>
<_projectDir>$(TestProjectDir)%(SupportedPackage.Identity)/%(SupportedPackage.TargetFramework)/</_projectDir>
<_projectFile>$(_projectDir)project.json</_projectFile>
</PropertyGroup>
<Message Importance="High" Text="Testing $(_projectFile)" />
<Exec Command="$(TestRestoreCommand) &quot;$(_projectFile)&quot;" StandardOutputImportance="Low" ContinueOnError="ErrorAndContinue" />
</Target>
<Target Name="Build" DependsOnTargets="RestoreProjects" />
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
</Project>