diff --git a/build/dependencies.props b/build/dependencies.props index 965160864cfc34d06ab6b493c33dc8fcb7499a01..7de10ef40d2b5dd0cdf6c57d6b703fbc05723dd8 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -2,8 +2,8 @@ <!-- These package versions may be overridden or updated by automation. --> <PropertyGroup Label="Package Versions: Auto" Condition=" '$(DotNetPackageVersionPropsPath)' == '' "> <!-- MicrosoftNETCoreApp21PackageVersion is assigned at the bottom so it can automatically pick up MicrosoftNETCoreAppPackageVersion in an orchestrated build. --> - <MicrosoftNETCoreAppPackageVersion>2.1.5</MicrosoftNETCoreAppPackageVersion> - <MicrosoftNETCoreDotNetAppHostPackageVersion>2.1.5</MicrosoftNETCoreDotNetAppHostPackageVersion> + <MicrosoftNETCoreAppPackageVersion>2.1.6-servicing-27017-02</MicrosoftNETCoreAppPackageVersion> + <MicrosoftNETCoreDotNetAppHostPackageVersion>2.1.6-servicing-27017-02</MicrosoftNETCoreDotNetAppHostPackageVersion> </PropertyGroup> <Import Project="$(DotNetPackageVersionPropsPath)" Condition="'$(DotNetPackageVersionPropsPath)' != ''" /> diff --git a/build/repo.props b/build/repo.props index 3c7b1970a288f33fb575d11fb3e09771bf738e8b..ec2fe7ab7fce73d6bda8b9115d1eaf9b733cc150 100644 --- a/build/repo.props +++ b/build/repo.props @@ -42,27 +42,6 @@ <SharedFrameworkName Include="Microsoft.AspNetCore.App" /> </ItemGroup> - <ItemGroup> - <!-- Explicitly require the 2.0.x and 2.1.0-* version of shared runtime used by ASP.NET Core --> - <DotNetCoreRuntime Include="$(MicrosoftNETCoreApp20PackageVersion)" Condition="'$(SharedFXRid)' != 'linux-musl-x64'" /> - - <DotNetCoreRuntime Include="$(MicrosoftNETCoreApp21PackageVersion)" - Feed="$(DotNetAssetRootUrl)" - FeedCredential="$(DotNetAssetRootAccessTokenSuffix)" /> - - <DotNetCoreRuntime Condition="'$(OS)' == 'Windows_NT'" - Include="$(MicrosoftNETCoreApp21PackageVersion)" - Arch="x86" - Feed="$(DotNetAssetRootUrl)" - FeedCredential="$(DotNetAssetRootAccessTokenSuffix)" /> - - <!-- - The build doesn't support compiling the shared runtime on one machine along with running tests, - so this is enables installing the shared runtime from a previous build. - --> - <AspNetCoreRuntime Include="$(PackageVersion)" Feed="$(AspNetCoreFxFeed)" Condition="'$(InstallSharedRuntimeFromPreviousBuild)' == 'true'" /> - </ItemGroup> - <!-- Properties for publishing --> <PropertyGroup> <!-- myget = non-orchestrated builds --> @@ -74,6 +53,7 @@ <PublishToTransportFeed Condition="$(PublishType.Contains('blob'))">true</PublishToTransportFeed> </PropertyGroup> + <Import Project="runtimes.props" /> <Import Project="sources.props" /> <Import Project="external-dependencies.props" /> <Import Project="artifacts.props" /> diff --git a/build/runtimes.props b/build/runtimes.props new file mode 100644 index 0000000000000000000000000000000000000000..c6f84cb0da713450e6a9bb50eb20cabc582176d3 --- /dev/null +++ b/build/runtimes.props @@ -0,0 +1,24 @@ +<Project> + + <ItemGroup> + <!-- Explicitly require the 2.0.x and 2.1.0-* version of shared runtime used by ASP.NET Core --> + <DotNetCoreRuntime Include="$(MicrosoftNETCoreApp20PackageVersion)" Condition="'$(SharedFXRid)' != 'linux-musl-x64'" /> + + <DotNetCoreRuntime Include="$(MicrosoftNETCoreApp21PackageVersion)" + Feed="$(DotNetAssetRootUrl)" + FeedCredential="$(DotNetAssetRootAccessTokenSuffix)" /> + + <DotNetCoreRuntime Condition="'$(OS)' == 'Windows_NT'" + Include="$(MicrosoftNETCoreApp21PackageVersion)" + Arch="x86" + Feed="$(DotNetAssetRootUrl)" + FeedCredential="$(DotNetAssetRootAccessTokenSuffix)" /> + + <!-- + The build doesn't support compiling the shared runtime on one machine along with running tests, + so this is enables installing the shared runtime from a previous build. + --> + <AspNetCoreRuntime Include="$(PackageVersion)" Feed="$(AspNetCoreFxFeed)" Condition="'$(InstallSharedRuntimeFromPreviousBuild)' == 'true'" /> + </ItemGroup> + +</Project> diff --git a/src/DataProtection/build/repo.props b/src/DataProtection/build/repo.props index 59ae0807d3033c968172daa36416994b03f58e19..37ae8832dc879af2001a4382b2d1c85ce0538ea6 100644 --- a/src/DataProtection/build/repo.props +++ b/src/DataProtection/build/repo.props @@ -1,4 +1,6 @@ <Project> + <Import Project="..\..\..\build\dependencies.props" /> + <Import Project="..\..\..\build\runtimes.props" /> <PropertyGroup> <!-- TODO: temporary while we reorganize source code and refactor dependency management --> <DisablePackageReferenceRestrictions>true</DisablePackageReferenceRestrictions>