You've already forked linux-packaging-mono
Imported Upstream version 5.16.0.100
Former-commit-id: 38faa55fb9669e35e7d8448b15c25dc447f25767
This commit is contained in:
parent
0a9828183b
commit
7d7f676260
@@ -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 Condition="'$(OfficialBuildId)' == '' Or '$(BuildAllConfigurations)' == 'true'">
|
||||
<ItemGroup Condition="'$(BuildingAnOfficialBuildLeg)' != 'true' Or '$(BuildAllConfigurations)' == 'true'">
|
||||
<Project Include="Microsoft.NETCore.Platforms.pkgproj" />
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
|
||||
|
File diff suppressed because it is too large
Load Diff
1
external/corefx/pkg/Microsoft.NETCore.Platforms/runtime.compatibility.json.REMOVED.git-id
vendored
Normal file
1
external/corefx/pkg/Microsoft.NETCore.Platforms/runtime.compatibility.json.REMOVED.git-id
vendored
Normal file
@@ -0,0 +1 @@
|
||||
b6552464639042b51b931dba020c7957f73ae840
|
File diff suppressed because it is too large
Load Diff
@@ -9,15 +9,19 @@
|
||||
<Parent>unix</Parent>
|
||||
<Architectures>x64;x86;arm;armel;arm64</Architectures>
|
||||
</RuntimeGroup>
|
||||
<RuntimeGroup Include="linux-musl">
|
||||
<Parent>linux</Parent>
|
||||
<Architectures>x64;x86;arm;armel;arm64</Architectures>
|
||||
</RuntimeGroup>
|
||||
|
||||
<RuntimeGroup Include="alpine">
|
||||
<Parent>unix</Parent>
|
||||
<Parent>linux-musl</Parent>
|
||||
<Architectures>x64</Architectures>
|
||||
<Versions>3.6</Versions>
|
||||
<Versions>3.6;3.7</Versions>
|
||||
</RuntimeGroup>
|
||||
|
||||
<RuntimeGroup Include="android">
|
||||
<Parent>any</Parent>
|
||||
<Parent>linux</Parent>
|
||||
<Architectures>arm;arm64</Architectures>
|
||||
<Versions>21</Versions>
|
||||
</RuntimeGroup>
|
||||
@@ -32,13 +36,14 @@
|
||||
<RuntimeGroup Include="debian">
|
||||
<Parent>linux</Parent>
|
||||
<Architectures>x64;x86;arm;armel;arm64</Architectures>
|
||||
<Versions>8</Versions>
|
||||
<Versions>8;9</Versions>
|
||||
<TreatVersionsAsCompatible>false</TreatVersionsAsCompatible>
|
||||
</RuntimeGroup>
|
||||
|
||||
<RuntimeGroup Include="fedora">
|
||||
<Parent>linux</Parent>
|
||||
<Architectures>x64</Architectures>
|
||||
<Versions>23;24;25;26</Versions>
|
||||
<Versions>23;24;25;26;27;28</Versions>
|
||||
<TreatVersionsAsCompatible>false</TreatVersionsAsCompatible>
|
||||
</RuntimeGroup>
|
||||
|
||||
@@ -47,6 +52,7 @@
|
||||
<Architectures>x64</Architectures>
|
||||
</RuntimeGroup>
|
||||
|
||||
<!-- linux mint includes major version in Include because Parent is different for each major -->
|
||||
<RuntimeGroup Include="linuxmint.17">
|
||||
<Parent>ubuntu.14.04</Parent>
|
||||
<Architectures>x64</Architectures>
|
||||
@@ -55,13 +61,18 @@
|
||||
<RuntimeGroup Include="linuxmint.18">
|
||||
<Parent>ubuntu.16.04</Parent>
|
||||
<Architectures>x64</Architectures>
|
||||
<Versions>1</Versions>
|
||||
<Versions>1;2;3</Versions>
|
||||
</RuntimeGroup>
|
||||
<RuntimeGroup Include="linuxmint.19">
|
||||
<Parent>ubuntu.18.04</Parent>
|
||||
<Architectures>x64</Architectures>
|
||||
<Versions></Versions><!-- Empty because there are no point releases yet -->
|
||||
</RuntimeGroup>
|
||||
|
||||
<RuntimeGroup Include="ol">
|
||||
<Parent>rhel</Parent>
|
||||
<Architectures>x64</Architectures>
|
||||
<Versions>7;7.0;7.1;7.2</Versions>
|
||||
<Versions>7;7.0;7.1;7.2;7.3;7.4</Versions>
|
||||
<ApplyVersionsToParent>true</ApplyVersionsToParent>
|
||||
</RuntimeGroup>
|
||||
|
||||
@@ -69,14 +80,14 @@
|
||||
<RuntimeGroup Include="opensuse">
|
||||
<Parent>linux</Parent>
|
||||
<Architectures>x64</Architectures>
|
||||
<Versions>13.2;42.1</Versions>
|
||||
<Versions>13.2;42.1;42.2;42.3</Versions>
|
||||
<TreatVersionsAsCompatible>false</TreatVersionsAsCompatible>
|
||||
</RuntimeGroup>
|
||||
|
||||
<RuntimeGroup Include="osx">
|
||||
<Parent>unix</Parent>
|
||||
<Architectures>x64</Architectures>
|
||||
<Versions>10.10;10.11;10.12</Versions>
|
||||
<Versions>10.10;10.11;10.12;10.13</Versions>
|
||||
</RuntimeGroup>
|
||||
|
||||
<!-- rhel 6 is independent -->
|
||||
@@ -92,13 +103,18 @@
|
||||
<Versions>7;7.0;7.1;7.2;7.3;7.4</Versions>
|
||||
</RuntimeGroup>
|
||||
|
||||
<RuntimeGroup Include="sles">
|
||||
<Parent>linux</Parent>
|
||||
<Architectures>x64</Architectures>
|
||||
<Versions>12;12.1;12.2;12.3</Versions>
|
||||
</RuntimeGroup>
|
||||
|
||||
<RuntimeGroup Include="tizen">
|
||||
<Parent>linux</Parent>
|
||||
<Architectures>armel</Architectures>
|
||||
<Versions>4.0.0</Versions>
|
||||
</RuntimeGroup>
|
||||
|
||||
<!-- ubuntu releases are compatible on major versions-->
|
||||
<RuntimeGroup Include="ubuntu">
|
||||
<Parent>debian</Parent>
|
||||
<Architectures>x64;x86;arm</Architectures>
|
||||
@@ -108,7 +124,7 @@
|
||||
<RuntimeGroup Include="ubuntu">
|
||||
<Parent>debian</Parent>
|
||||
<Architectures>x64;x86;arm;arm64</Architectures>
|
||||
<Versions>16.04;16.10</Versions>
|
||||
<Versions>16.04;16.10;17.04;17.10;18.04</Versions>
|
||||
<TreatVersionsAsCompatible>false</TreatVersionsAsCompatible>
|
||||
</RuntimeGroup>
|
||||
|
||||
@@ -151,4 +167,4 @@
|
||||
RuntimeDirectedGraph="$(PackageReportDir)$(Id)$(NuspecSuffix)-runtime.json.dgml"
|
||||
UpdateRuntimeFiles="$(UpdateRuntimeFiles)" />
|
||||
</Target>
|
||||
</Project>
|
||||
</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 Condition="'$(OfficialBuildId)' == '' Or '$(BuildAllConfigurations)' == 'true'">
|
||||
<ItemGroup Condition="'$(BuildingAnOfficialBuildLeg)' != 'true' Or '$(BuildAllConfigurations)' == 'true'">
|
||||
<Project Include="Microsoft.NETCore.Targets.pkgproj"/>
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
|
||||
|
@@ -39,6 +39,7 @@
|
||||
Microsoft.VisualBasic;
|
||||
Microsoft.Win32.Registry;
|
||||
System.IO.FileSystem.AccessControl;
|
||||
System.IO.Pipes.AccessControl;
|
||||
System.Private.DataContractSerialization;
|
||||
System.Private.Uri;
|
||||
System.Private.Xml;
|
||||
@@ -49,6 +50,12 @@
|
||||
System.Security.Principal.Windows;
|
||||
</Value>
|
||||
</ValidatePackageSuppression>
|
||||
<!-- Permit missing Inbox since this used to be a shim and it is now OOB -->
|
||||
<ValidatePackageSuppression Include="PermitMissingInbox">
|
||||
<Value>
|
||||
System.ComponentModel.Composition;
|
||||
</Value>
|
||||
</ValidatePackageSuppression>
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
|
@@ -8,8 +8,8 @@
|
||||
<Platform>arm64</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="linux-x64" />
|
||||
<OfficialBuildRID Include="linux-musl-x64" />
|
||||
<OfficialBuildRID Include="rhel.6-x64" />
|
||||
<OfficialBuildRID Include="alpine.3.6-x64" />
|
||||
<OfficialBuildRID Include="osx-x64" />
|
||||
<OfficialBuildRID Include="win-arm">
|
||||
<Platform>arm</Platform>
|
||||
|
@@ -66,6 +66,12 @@
|
||||
System.Private.Reflection.Metadata.Ecma335;
|
||||
</Value>
|
||||
</ValidatePackageSuppression>
|
||||
<!-- Permit missing Inbox since this used to be a shim and it is now OOB -->
|
||||
<ValidatePackageSuppression Include="PermitMissingInbox">
|
||||
<Value>
|
||||
System.ComponentModel.Composition;
|
||||
</Value>
|
||||
</ValidatePackageSuppression>
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
|
@@ -1 +1 @@
|
||||
28e475f5bd0c3d7de2ba5852f5a4ed767748c8e4
|
||||
30def071acd452360aa3599aac24a11b186918af
|
@@ -4,12 +4,10 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<PackageVersion>2.0.0</PackageVersion>
|
||||
<ServiceModelVersion>4.4.1</ServiceModelVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemDefinitionGroup>
|
||||
<LibraryPackage>
|
||||
<Version>4.4.0</Version>
|
||||
</LibraryPackage>
|
||||
<PrereleaseLibraryPackage>
|
||||
<Version>4.5.0</Version>
|
||||
</PrereleaseLibraryPackage>
|
||||
@@ -22,11 +20,13 @@
|
||||
<ItemGroup>
|
||||
<PrereleaseLibraryPackage Include="Microsoft.Win32.Registry" />
|
||||
<PrereleaseLibraryPackage Include="Microsoft.Win32.Registry.AccessControl" />
|
||||
<PrereleaseLibraryPackage Include="Microsoft.Win32.SystemEvents" />
|
||||
<PrereleaseLibraryPackage Include="System.CodeDom" />
|
||||
<PrereleaseLibraryPackage Include="System.ComponentModel.Composition" />
|
||||
<PrereleaseLibraryPackage Include="System.Configuration.ConfigurationManager" />
|
||||
<PrereleaseLibraryPackage Include="System.Data.Odbc" />
|
||||
<PrereleaseLibraryPackage Include="System.Data.DataSetExtensions" />
|
||||
<PrereleaseLibraryPackage Include="System.Data.SqlClient" />
|
||||
<PrereleaseLibraryPackage Include="System.Drawing.Common" />
|
||||
<PrereleaseLibraryPackage Include="System.Diagnostics.EventLog" />
|
||||
<PrereleaseLibraryPackage Include="System.Diagnostics.PerformanceCounter" />
|
||||
@@ -40,6 +40,7 @@
|
||||
<PrereleaseLibraryPackage Include="System.Management" />
|
||||
<PrereleaseLibraryPackage Include="System.Runtime.Caching" />
|
||||
<PrereleaseLibraryPackage Include="System.Security.AccessControl" />
|
||||
<PrereleaseLibraryPackage Include="System.Security.Cryptography.Cng" />
|
||||
<PrereleaseLibraryPackage Include="System.Security.Cryptography.Pkcs" />
|
||||
<PrereleaseLibraryPackage Include="System.Security.Cryptography.ProtectedData" />
|
||||
<PrereleaseLibraryPackage Include="System.Security.Cryptography.Xml" />
|
||||
@@ -50,18 +51,22 @@
|
||||
<PrereleaseLibraryPackage Include="System.Text.Encoding.CodePages" />
|
||||
<PrereleaseLibraryPackage Include="System.Threading.AccessControl" />
|
||||
|
||||
<!-- External pre-release packages -->
|
||||
<!-- Service model packages -->
|
||||
<LibraryPackage Include="System.ServiceModel.Primitives">
|
||||
<Version>4.4.1-servicing-25917-01</Version>
|
||||
<Version>$(ServiceModelVersion)</Version>
|
||||
</LibraryPackage>
|
||||
<LibraryPackage Include="System.ServiceModel.Duplex">
|
||||
<Version>$(ServiceModelVersion)</Version>
|
||||
</LibraryPackage>
|
||||
<LibraryPackage Include="System.ServiceModel.Http">
|
||||
<Version>$(ServiceModelVersion)</Version>
|
||||
</LibraryPackage>
|
||||
<LibraryPackage Include="System.ServiceModel.NetTcp">
|
||||
<Version>$(ServiceModelVersion)</Version>
|
||||
</LibraryPackage>
|
||||
<LibraryPackage Include="System.ServiceModel.Security">
|
||||
<Version>$(ServiceModelVersion)</Version>
|
||||
</LibraryPackage>
|
||||
|
||||
<!-- Stable packages shipped already for netcoreapp2.0 -->
|
||||
<LibraryPackage Include="System.Data.SqlClient" />
|
||||
<LibraryPackage Include="System.Security.Cryptography.Cng" />
|
||||
<LibraryPackage Include="System.ServiceModel.Duplex" />
|
||||
<LibraryPackage Include="System.ServiceModel.Http" />
|
||||
<LibraryPackage Include="System.ServiceModel.NetTcp" />
|
||||
<LibraryPackage Include="System.ServiceModel.Security" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@@ -3,31 +3,36 @@
|
||||
"System.ServiceModel.Primitives": {
|
||||
"StableVersions": [
|
||||
"4.4.0",
|
||||
"4.3.0"
|
||||
"4.3.0",
|
||||
"4.4.1"
|
||||
]
|
||||
},
|
||||
"System.ServiceModel.Duplex": {
|
||||
"StableVersions": [
|
||||
"4.4.0",
|
||||
"4.3.0"
|
||||
"4.3.0",
|
||||
"4.4.1"
|
||||
]
|
||||
},
|
||||
"System.ServiceModel.Http": {
|
||||
"StableVersions": [
|
||||
"4.4.0",
|
||||
"4.3.0"
|
||||
"4.3.0",
|
||||
"4.4.1"
|
||||
]
|
||||
},
|
||||
"System.ServiceModel.NetTcp": {
|
||||
"StableVersions": [
|
||||
"4.4.0",
|
||||
"4.3.0"
|
||||
"4.3.0",
|
||||
"4.4.1"
|
||||
]
|
||||
},
|
||||
"System.ServiceModel.Security": {
|
||||
"StableVersions": [
|
||||
"4.4.0",
|
||||
"4.3.0"
|
||||
"4.3.0",
|
||||
"4.4.1"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@@ -1,11 +1,21 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<DisableImplicitFrameworkReferences Condition="'$(TargetFramework)' == 'netcoreapp2.0'">true</DisableImplicitFrameworkReferences>
|
||||
<PreserveCompilationContext>true</PreserveCompilationContext>
|
||||
<PreserveCompilationContext>true</PreserveCompilationContext>
|
||||
<!-- Setting NETCoreAppMaximumVersion to a high version so that the sdk doesn't complain if we're restoring/publishing for a higher version than the sdk. -->
|
||||
<NETCoreAppMaximumVersion>99.9</NETCoreAppMaximumVersion>
|
||||
<PackageConflictPreferredPackages Condition="'$(TargetFramework)' != 'netcoreapp2.0'">Microsoft.Private.CoreFx.NETCoreApp;runtime.$(RID).Microsoft.Private.CoreFx.NETCoreApp;$(PackageConflictPreferredPackages)</PackageConflictPreferredPackages>
|
||||
<DisableImplicitFrameworkReferences Condition="$(TargetFramework.Contains('netcoreapp'))">true</DisableImplicitFrameworkReferences>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Windows.Compatibility" Version="$(CompatibilityPackageVersion)" />
|
||||
<PackageReference Condition="'$(TargetFramework)' == 'netcoreapp2.0'" Include="Microsoft.NETCore.App" Version="2.0.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(TargetFramework)' != 'netcoreapp2.0'">
|
||||
<PackageReference Include="Microsoft.Private.CoreFx.NETCoreApp" Version="$(PrivateCorefxPackageVersion)" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.1.0-*" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.0'">
|
||||
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
|
||||
<PackageReference Include="Microsoft.NETCore.App" Version="2.0.0" />
|
||||
</ItemGroup>
|
||||
</Project>
|
@@ -1,27 +1,16 @@
|
||||
$repoRoot = ((get-item $PSScriptRoot).parent.parent.parent.FullName);
|
||||
$winRID = "win7-x64";
|
||||
$dotnetPath = -join($repoRoot, "\Tools\dotnetcli\dotnet.exe")
|
||||
$csprojPath = -join($PSScriptRoot, "\", (Get-ChildItem $PSScriptRoot"\*.csproj" | Select-Object -ExpandProperty Name))
|
||||
$packagesCachePath = -join($repoRoot, "\packages")
|
||||
$localPackageSourcePath = -join($repoRoot, "\bin\packages\Debug\")
|
||||
$packageName = "Microsoft.Windows.Compatibility"
|
||||
param (
|
||||
$targetFramework = "netcoreapp2.1",
|
||||
$runtimeVersion = "2.1.0-*",
|
||||
$refDirName = "netcoreapp21_compat",
|
||||
$rid = "win7-x64"
|
||||
)
|
||||
|
||||
if (!(Test-Path $localPackageSourcePath))
|
||||
{
|
||||
$localPackageSourcePath = -join($repoRoot, "\bin\packages\Release\")
|
||||
if (!(Test-Path $localPackageSourcePath))
|
||||
{
|
||||
Write-Error -Message "Local package source must exist.";
|
||||
Exit;
|
||||
}
|
||||
}
|
||||
|
||||
function _getPackageVersion()
|
||||
function _getPackageVersion($packageName)
|
||||
{
|
||||
$searchPattern = -join($localPackageSourcePath, $packageName, ".[0-9].[0-9].[0-9]*.nupkg")
|
||||
if (!(Test-Path $searchPattern))
|
||||
{
|
||||
Write-Error -Message (-join("Didn't find package: Microsoft.Windows.Compatibility in source: ", $localPackageSourcePath, " please run build -allConfigurations"))
|
||||
Write-Error -Message (-join("Didn't find package: ", $packageName, " in source: ", $localPackageSourcePath, " please run build -allConfigurations"))
|
||||
Exit;
|
||||
}
|
||||
|
||||
@@ -34,32 +23,47 @@ function _getPackageVersion()
|
||||
return $matches[0]
|
||||
}
|
||||
|
||||
function _restoreAndPublish($targetFramework, $rid, $runtimeFramework, $refDirName)
|
||||
$repoRoot = ((get-item $PSScriptRoot).parent.parent.parent.FullName);
|
||||
$dotnetPath = -join($repoRoot, "\Tools\dotnetcli\dotnet.exe")
|
||||
$csprojPath = -join($PSScriptRoot, "\", (Get-ChildItem $PSScriptRoot"\*.csproj" | Select-Object -ExpandProperty Name))
|
||||
$packagesCachePath = -join($repoRoot, "\packages")
|
||||
$localPackageSourcePath = -join($repoRoot, "\bin\packages\Debug\")
|
||||
|
||||
if (!(Test-Path $localPackageSourcePath))
|
||||
{
|
||||
$packageVersion = _getPackageVersion
|
||||
& $dotnetPath restore --packages $packagesCachePath /p:RestoreSources="https://api.nuget.org/v3/index.json;$localPackageSourcePath" /p:TargetFramework=$targetFramework /p:CompatibilityPackageVersion=$packageVersion $csprojPath
|
||||
& $dotnetPath publish -r $rid /p:RestoreSources="https://api.nuget.org/v3/index.json;$localPackageSourcePath" /p:TargetFramework=$targetFramework /p:CompatibilityPackageVersion=$packageVersion /p:RuntimeFrameworkVersion=$runtimeFramework $csprojPath
|
||||
|
||||
$outputPath = -join($PSScriptRoot, "\bin\Debug\", $targetFramework, "\", $rid, "\publish\refs\")
|
||||
|
||||
if (!(Test-Path $outputPath))
|
||||
{
|
||||
Write-Error -Message (-join("There was an error while publishing for framework: ", $targetFramework))
|
||||
Exit;
|
||||
}
|
||||
|
||||
Write-Output (-join("Published succedded for: ", $targetFramework))
|
||||
|
||||
$refPath = -join($repoRoot, "\bin\ref\", $refDirName)
|
||||
|
||||
if (Test-Path $refPath)
|
||||
$localPackageSourcePath = -join($repoRoot, "\bin\packages\Release\")
|
||||
if (!(Test-Path $localPackageSourcePath))
|
||||
{
|
||||
Remove-Item $refPath -r -force
|
||||
Write-Error -Message "Local package source must exist.";
|
||||
Exit;
|
||||
}
|
||||
|
||||
New-Item $refPath -ItemType directory
|
||||
Copy-Item (-join($outputPath, "*")) $refPath
|
||||
}
|
||||
|
||||
_restoreAndPublish "netcoreapp2.0" $winRID "2.0.0" "netcoreapp20_compat"
|
||||
_restoreAndPublish "netstandard2.0" $winRID "2.0.0" "netstandard20_compat"
|
||||
$restoreSources = -join("https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json;https://api.nuget.org/v3/index.json;https://dotnet.myget.org/F/dotnet-core/api/v3/index.json;", $localPackageSourcePath)
|
||||
|
||||
$compatPackageVersion = _getPackageVersion "Microsoft.Windows.Compatibility"
|
||||
$privatePackageVersion = _getPackageVersion "Microsoft.Private.CoreFx.NETCoreApp"
|
||||
|
||||
& $dotnetPath restore --packages $packagesCachePath /p:RestoreSources="$restoreSources" /p:TargetFramework=$targetFramework /p:CompatibilityPackageVersion=$compatPackageVersion /p:PrivateCorefxPackageVersion=$privatePackageVersion /p:RID=$rid $csprojPath
|
||||
|
||||
& $dotnetPath publish -r $rid /p:RestoreSources="$restoreSources" /p:TargetFramework=$targetFramework /p:CompatibilityPackageVersion=$compatPackageVersion /p:RuntimeFrameworkVersion=$runtimeFramework /p:PrivateCorefxPackageVersion=$privatePackageVersion /p:RID=$rid $csprojPath
|
||||
|
||||
$outputPath = -join($PSScriptRoot, "\bin\Debug\", $targetFramework, "\", $rid, "\publish\refs\")
|
||||
|
||||
if (!(Test-Path $outputPath))
|
||||
{
|
||||
Write-Error -Message (-join("There was an error while publishing for framework: ", $targetFramework))
|
||||
Exit;
|
||||
}
|
||||
|
||||
Write-Output (-join("Published succedded for: ", $targetFramework))
|
||||
|
||||
$refPath = -join($repoRoot, "\bin\ref\", $refDirName)
|
||||
|
||||
if (Test-Path $refPath)
|
||||
{
|
||||
Remove-Item $refPath -r -force
|
||||
}
|
||||
|
||||
New-Item $refPath -ItemType directory
|
||||
Copy-Item (-join($outputPath, "*")) $refPath
|
||||
|
19
external/corefx/pkg/baseline/baseline.props
vendored
19
external/corefx/pkg/baseline/baseline.props
vendored
@@ -1,14 +1,29 @@
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\Microsoft.Private.PackageBaseline\Microsoft.Private.PackageBaseline.props" />
|
||||
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- Set PackageIndexFile to point to our local repo's index. This tells the packaging targets
|
||||
which index should be used for updates -->
|
||||
<PackageIndexFile>$(MSBuildThisFileDirectory)..\Microsoft.Private.PackageBaseline\packageIndex.json</PackageIndexFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
Below targets should moved to packaging.targets in BuildTools but keeping in corefx for convenience right now
|
||||
-->
|
||||
|
||||
<Target Name="BlockStable" Condition="'$(BlockStable)' == 'true'" AfterTargets="CalculatePackageVersion">
|
||||
<!-- DO NOT ship this packages as stable in .NET Core 2.0. -->
|
||||
<!-- DO NOT ship this packages as stable -->
|
||||
<Error Condition="!$(PackageVersion.Contains('-'))" Text="Package $(Id) should not be built stable" />
|
||||
</Target>
|
||||
|
||||
<!-- Get the package version if it isn't marked as block stable -->
|
||||
<Target Name="GetPackageIdentityIfStable"
|
||||
Returns="@(_StablePackageIdentity)">
|
||||
|
||||
<ItemGroup Condition="'$(BlockStable)' != 'true'">
|
||||
<_StablePackageIdentity Include="$(Id)">
|
||||
<Version>$(PackageVersion)</Version>
|
||||
</_StablePackageIdentity>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
</Project>
|
||||
|
44
external/corefx/pkg/descriptions.json
vendored
44
external/corefx/pkg/descriptions.json
vendored
@@ -1,4 +1,9 @@
|
||||
[
|
||||
{
|
||||
"Name": "CoreFx.Private.TestUtilities",
|
||||
"Description": "Private package, which provides testing utility classes. The package is meant to be used when running CoreFX tests on a runtime.",
|
||||
"CommonTypes": []
|
||||
},
|
||||
{
|
||||
"Name": "RuntimePackage",
|
||||
"Description": "Internal implementation package not meant for direct consumption. Please do not reference directly.",
|
||||
@@ -29,7 +34,7 @@
|
||||
"Name": "Microsoft.Diagnostics.Tracing.EventSource.Redist",
|
||||
"Description": "This package includes the class Microsoft.Diagnostics.Tracing.EventSource which enables firing ETW events from managed code. This is the \"runtime\" or \"redist\" EventSource package and should be referenced directly only by other NuGet packages that need the EventSource functionality. Application developers that need this functionality should instead reference the Microsoft.Diagnostics.Tracing.EventSource NuGet package which provides an enhanced developer experience.
|
||||
|
||||
This package enables defining a strongly typed specification of an ETW provider that can be called by managed code. The EventSource class is also included in the .NET Framework. This package provides a newer version that has more features. It is meant to be used as a stop gap until those features it contains are ported to System.Diagnostics.Tracing.EventSource.
|
||||
This package enables defining a strongly typed specification of an ETW provider that can be called by managed code. The EventSource class is also included in the .NET Framework, .NET Core, and netstandard2.0 in the System.Diagnostics.Tracing namespace. This package contains the latest version of EventSource and is meant to be used as a stop gap for .NET Framework developers until features and fixes are ported to System.Diagnostics.Tracing.EventSource in the .NET Framework.
|
||||
|
||||
For more details, have a look at http://msdn.microsoft.com/en-us/library/system.diagnostics.tracing.eventsource.aspx.
|
||||
|
||||
@@ -200,6 +205,13 @@
|
||||
"Microsoft.Win32.RegistryView"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft.Win32.SystemEvents",
|
||||
"Description": "Provides access to Windows system event notifications.",
|
||||
"CommonTypes": [
|
||||
"Microsoft.Win32.SystemEvents"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft.Win32.Registry.AccessControl",
|
||||
"Description": "Provides support for managing access and audit control lists for Microsoft.Win32.RegistryKey.",
|
||||
@@ -892,6 +904,15 @@
|
||||
"Description": "Provides classes that support storage of multiple data objects in a single container.",
|
||||
"CommonTypes": []
|
||||
},
|
||||
{
|
||||
"Name": "System.IO.Pipelines",
|
||||
"Description": "Single producer single consumer byte buffer management.",
|
||||
"CommonTypes": [
|
||||
"System.IO.Pipelines.Pipe",
|
||||
"System.IO.Pipelines.PipeWriter",
|
||||
"System.IO.Pipelines.PipeReader"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "System.IO.Pipes",
|
||||
"Description": "Provides a means for interprocess communication through anonymous and/or named pipes.",
|
||||
@@ -991,9 +1012,16 @@
|
||||
},
|
||||
{
|
||||
"Name": "System.Memory",
|
||||
"Description": "Provides types for efficient low-allocation access to memory.",
|
||||
"Description": "Provides types for efficient representation and pooling of managed, stack, and native memory segments and sequences of such segments, along with primitives to parse and format UTF-8 encoded text stored in those memory segments.",
|
||||
"CommonTypes": [
|
||||
"System.Span"
|
||||
"System.Span",
|
||||
"System.ReadOnlySpan",
|
||||
"System.Memory",
|
||||
"System.ReadOnlyMemory",
|
||||
"System.Buffers.MemoryPool",
|
||||
"System.Buffers.ReadOnlySequence",
|
||||
"System.Buffers.Text.Utf8Parser",
|
||||
"System.Buffers.Text.Utf8Formatter"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -1418,7 +1446,7 @@
|
||||
"System.Runtime.Caching.FileChangeMonitor",
|
||||
"System.Runtime.Caching.HostFileChangeMonitor",
|
||||
"System.Runtime.Caching.MemoryCache",
|
||||
"System.Runtime.Caching.ObjectCache",
|
||||
"System.Runtime.Caching.ObjectCache"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -1500,6 +1528,14 @@
|
||||
"System.Runtime.InteropServices.WindowsRuntime.ReturnValueNameAttribute"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "System.Runtime.Intrinsics.Experimental",
|
||||
"Description": "Provides APIs to processor specific instructions.",
|
||||
"CommonTypes": [
|
||||
"System.Runtime.Intrinsics.Vector128<>",
|
||||
"System.Runtime.Intrinsics.Vector256<>"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "System.Runtime.Loader",
|
||||
"Description": "Provides the System.Runtime.Loader.AssemblyLoadContext class, which provides members for loading assemblies.",
|
||||
|
16
external/corefx/pkg/dir.props
vendored
16
external/corefx/pkg/dir.props
vendored
@@ -2,6 +2,13 @@
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\dir.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- Used to determine if we should build some packages only once across multiple official build legs.
|
||||
For offline builds we still set OfficialBuildId but we need to build all the packages for a single
|
||||
leg only, so we also take DotNetBuildFromSource into account. -->
|
||||
<BuildingAnOfficialBuildLeg Condition="'$(BuildingAnOfficialBuildLeg)' == '' AND '$(OfficialBuildId)' != '' AND '$(DotNetBuildFromSource)' != 'true'">true</BuildingAnOfficialBuildLeg>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Packages opt-in to automatic RID-specific builds by placing a *.RID.props next to their project
|
||||
that defines the OfficialBuildRID item: all RIDs targeted by the package -->
|
||||
<Import Project="$(MSBuildProjectDirectory)\*.rids.props" />
|
||||
@@ -16,7 +23,7 @@
|
||||
</BuildRID>
|
||||
</ItemGroup>
|
||||
|
||||
<!-- create the "Project" item which is the current $(MSBuildProjectName).pkgproj with meta-data for all
|
||||
<!-- create the "Project" item which is the current $(MSBuildProjectName).pkgproj with meta-data for all
|
||||
supported RIDs -->
|
||||
<ItemGroup>
|
||||
<_project Include="@(BuildRID)">
|
||||
@@ -48,5 +55,10 @@
|
||||
<AdditionalLibPackageExcludes Condition="'$(SymbolFileExtension)' != ''" Include="%2A%2A\%2A$(SymbolFileExtension)" />
|
||||
<AdditionalSymbolPackageExcludes Condition="'$(LibraryFileExtension)' != ''" Include="%2A%2A\%2A.a;%2A%2A\%2A$(LibraryFileExtension)" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- BlockStable on private packages by default -->
|
||||
<BlockStable Condition="'$(BlockStable)' == '' and $(MSBuildProjectName.Contains('Private'))">true</BlockStable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
|
4
external/corefx/pkg/dir.traversal.targets
vendored
4
external/corefx/pkg/dir.traversal.targets
vendored
@@ -2,8 +2,8 @@
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<Import Project="..\dir.traversal.targets" />
|
||||
|
||||
<PropertyGroup Condition="'$(OfficialBuildId)' != ''">
|
||||
|
||||
<PropertyGroup Condition="'$(BuildingAnOfficialBuildLeg)' == 'true'">
|
||||
<!-- During an official build, only build identity packages in the AllConfigurations build -->
|
||||
<SkipBuildIdentityPackage Condition="'$(BuildAllConfigurations)' != 'true'">true</SkipBuildIdentityPackage>
|
||||
|
||||
|
@@ -7,6 +7,7 @@
|
||||
<ShouldVerifyTypes>true</ShouldVerifyTypes>
|
||||
|
||||
<!-- ensure that we get runtime assemblies in ReferenceCopyLocalPaths -->
|
||||
<SelfContained>true</SelfContained>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -14,5 +15,9 @@
|
||||
<!-- intentionally dangling refs in shims -->
|
||||
<ExcludeFromClosure Include="@(NetFxReference)" />
|
||||
<IgnoredReference Include="@(NetFxReference)" />
|
||||
|
||||
<!-- netstandard will have cycles because OOB packages target netstandard and are used in netstandard closure,
|
||||
We do ensure that netstandard inside the shared framework has no cycles, but we permit them in packages in order to allow for simpler netstandard-based builds.-->
|
||||
<IgnoredReference Include="netstandard" />
|
||||
</ItemGroup>
|
||||
</Project>
|
9
external/corefx/pkg/test/frameworkSettings/netcoreapp2.0/settings.targets
vendored
Normal file
9
external/corefx/pkg/test/frameworkSettings/netcoreapp2.0/settings.targets
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Condition="'$(RuntimeIdentifier)' != ''">
|
||||
<!-- NETCoreApp2.0 had experimental versions of Span and ReadOnlySpan
|
||||
which we don't match the final API nor were they ship-quality -->
|
||||
<IgnoredTypes Include="System.ReadOnlySpan`1" />
|
||||
<IgnoredTypes Include="System.Span`1" />
|
||||
</ItemGroup>
|
||||
</Project>
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user