Skip to content

Commit da103bc

Browse files
author
Mirroring
committed
Merge commit 'fb7ac0ff0437c5405458a2a953d29a6aeb5e76f0'
2 parents 7e46fb9 + fb7ac0f commit da103bc

File tree

65 files changed

+1118
-965
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+1118
-965
lines changed

eng/Version.Details.xml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Dependencies>
22
<ProductDependencies>
3-
<Dependency Name="Microsoft.NETCore.Runtime.ICU.Transport" Version="8.0.0-rtm.25565.1">
3+
<Dependency Name="Microsoft.NETCore.Runtime.ICU.Transport" Version="8.0.0-rtm.25625.2">
44
<Uri>https://github.com/dotnet/icu</Uri>
5-
<Sha>b565264ebc86c4444a7a5d411f69674393d61265</Sha>
5+
<Sha>7e1e01ce174204fc50e1b221c59cbd2c7a752441</Sha>
66
</Dependency>
77
<Dependency Name="System.Net.MsQuic.Transport" Version="8.0.0-alpha.1.23527.1">
88
<Uri>https://github.com/dotnet/msquic</Uri>
@@ -185,57 +185,57 @@
185185
<Uri>https://github.com/dotnet/arcade</Uri>
186186
<Sha>e8483fe03c7d3257c68f6013441da5d72eeb8392</Sha>
187187
</Dependency>
188-
<Dependency Name="System.ComponentModel.TypeConverter.TestData" Version="8.0.0-beta.25565.1">
188+
<Dependency Name="System.ComponentModel.TypeConverter.TestData" Version="8.0.0-beta.25625.3">
189189
<Uri>https://github.com/dotnet/runtime-assets</Uri>
190-
<Sha>40ac8f2e43695322e5472fef7f3ad85cfdd83e1e</Sha>
190+
<Sha>98185bc6d28f41decb681555c343a62b3c6c165e</Sha>
191191
</Dependency>
192-
<Dependency Name="System.Data.Common.TestData" Version="8.0.0-beta.25565.1">
192+
<Dependency Name="System.Data.Common.TestData" Version="8.0.0-beta.25625.3">
193193
<Uri>https://github.com/dotnet/runtime-assets</Uri>
194-
<Sha>40ac8f2e43695322e5472fef7f3ad85cfdd83e1e</Sha>
194+
<Sha>98185bc6d28f41decb681555c343a62b3c6c165e</Sha>
195195
</Dependency>
196-
<Dependency Name="System.Drawing.Common.TestData" Version="8.0.0-beta.25565.1">
196+
<Dependency Name="System.Drawing.Common.TestData" Version="8.0.0-beta.25625.3">
197197
<Uri>https://github.com/dotnet/runtime-assets</Uri>
198-
<Sha>40ac8f2e43695322e5472fef7f3ad85cfdd83e1e</Sha>
198+
<Sha>98185bc6d28f41decb681555c343a62b3c6c165e</Sha>
199199
</Dependency>
200-
<Dependency Name="System.Formats.Tar.TestData" Version="8.0.0-beta.25565.1">
200+
<Dependency Name="System.Formats.Tar.TestData" Version="8.0.0-beta.25625.3">
201201
<Uri>https://github.com/dotnet/runtime-assets</Uri>
202-
<Sha>40ac8f2e43695322e5472fef7f3ad85cfdd83e1e</Sha>
202+
<Sha>98185bc6d28f41decb681555c343a62b3c6c165e</Sha>
203203
</Dependency>
204-
<Dependency Name="System.IO.Compression.TestData" Version="8.0.0-beta.25565.1">
204+
<Dependency Name="System.IO.Compression.TestData" Version="8.0.0-beta.25625.3">
205205
<Uri>https://github.com/dotnet/runtime-assets</Uri>
206-
<Sha>40ac8f2e43695322e5472fef7f3ad85cfdd83e1e</Sha>
206+
<Sha>98185bc6d28f41decb681555c343a62b3c6c165e</Sha>
207207
</Dependency>
208-
<Dependency Name="System.IO.Packaging.TestData" Version="8.0.0-beta.25565.1">
208+
<Dependency Name="System.IO.Packaging.TestData" Version="8.0.0-beta.25625.3">
209209
<Uri>https://github.com/dotnet/runtime-assets</Uri>
210-
<Sha>40ac8f2e43695322e5472fef7f3ad85cfdd83e1e</Sha>
210+
<Sha>98185bc6d28f41decb681555c343a62b3c6c165e</Sha>
211211
</Dependency>
212-
<Dependency Name="System.Net.TestData" Version="8.0.0-beta.25565.1">
212+
<Dependency Name="System.Net.TestData" Version="8.0.0-beta.25625.3">
213213
<Uri>https://github.com/dotnet/runtime-assets</Uri>
214-
<Sha>40ac8f2e43695322e5472fef7f3ad85cfdd83e1e</Sha>
214+
<Sha>98185bc6d28f41decb681555c343a62b3c6c165e</Sha>
215215
</Dependency>
216-
<Dependency Name="System.Private.Runtime.UnicodeData" Version="8.0.0-beta.25565.1">
216+
<Dependency Name="System.Private.Runtime.UnicodeData" Version="8.0.0-beta.25625.3">
217217
<Uri>https://github.com/dotnet/runtime-assets</Uri>
218-
<Sha>40ac8f2e43695322e5472fef7f3ad85cfdd83e1e</Sha>
218+
<Sha>98185bc6d28f41decb681555c343a62b3c6c165e</Sha>
219219
</Dependency>
220-
<Dependency Name="System.Runtime.TimeZoneData" Version="8.0.0-beta.25565.1">
220+
<Dependency Name="System.Runtime.TimeZoneData" Version="8.0.0-beta.25625.3">
221221
<Uri>https://github.com/dotnet/runtime-assets</Uri>
222-
<Sha>40ac8f2e43695322e5472fef7f3ad85cfdd83e1e</Sha>
222+
<Sha>98185bc6d28f41decb681555c343a62b3c6c165e</Sha>
223223
</Dependency>
224-
<Dependency Name="System.Security.Cryptography.X509Certificates.TestData" Version="8.0.0-beta.25565.1">
224+
<Dependency Name="System.Security.Cryptography.X509Certificates.TestData" Version="8.0.0-beta.25625.3">
225225
<Uri>https://github.com/dotnet/runtime-assets</Uri>
226-
<Sha>40ac8f2e43695322e5472fef7f3ad85cfdd83e1e</Sha>
226+
<Sha>98185bc6d28f41decb681555c343a62b3c6c165e</Sha>
227227
</Dependency>
228-
<Dependency Name="System.Text.RegularExpressions.TestData" Version="8.0.0-beta.25565.1">
228+
<Dependency Name="System.Text.RegularExpressions.TestData" Version="8.0.0-beta.25625.3">
229229
<Uri>https://github.com/dotnet/runtime-assets</Uri>
230-
<Sha>40ac8f2e43695322e5472fef7f3ad85cfdd83e1e</Sha>
230+
<Sha>98185bc6d28f41decb681555c343a62b3c6c165e</Sha>
231231
</Dependency>
232-
<Dependency Name="System.Windows.Extensions.TestData" Version="8.0.0-beta.25565.1">
232+
<Dependency Name="System.Windows.Extensions.TestData" Version="8.0.0-beta.25625.3">
233233
<Uri>https://github.com/dotnet/runtime-assets</Uri>
234-
<Sha>40ac8f2e43695322e5472fef7f3ad85cfdd83e1e</Sha>
234+
<Sha>98185bc6d28f41decb681555c343a62b3c6c165e</Sha>
235235
</Dependency>
236-
<Dependency Name="Microsoft.DotNet.CilStrip.Sources" Version="8.0.0-beta.25565.1">
236+
<Dependency Name="Microsoft.DotNet.CilStrip.Sources" Version="8.0.0-beta.25625.3">
237237
<Uri>https://github.com/dotnet/runtime-assets</Uri>
238-
<Sha>40ac8f2e43695322e5472fef7f3ad85cfdd83e1e</Sha>
238+
<Sha>98185bc6d28f41decb681555c343a62b3c6c165e</Sha>
239239
</Dependency>
240240
<Dependency Name="runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk" Version="16.0.5-alpha.1.25311.1" CoherentParentDependency="Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100">
241241
<Uri>https://github.com/dotnet/llvm-project</Uri>
@@ -354,13 +354,13 @@
354354
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-optimization</Uri>
355355
<Sha>67613417f5e1af250e6ddfba79f8f2885d8e90fb</Sha>
356356
</Dependency>
357-
<Dependency Name="Microsoft.DotNet.HotReload.Utils.Generator.BuildTool" Version="8.0.0-alpha.0.25574.3">
357+
<Dependency Name="Microsoft.DotNet.HotReload.Utils.Generator.BuildTool" Version="8.0.0-alpha.0.25625.3">
358358
<Uri>https://github.com/dotnet/hotreload-utils</Uri>
359-
<Sha>cf2f6ad655ebd5397042ea09d529ecc0c194a499</Sha>
359+
<Sha>e7e99065bbd4a7b911d5cfa56b23d873d9675355</Sha>
360360
</Dependency>
361-
<Dependency Name="System.Runtime.Numerics.TestData" Version="8.0.0-beta.25565.1">
361+
<Dependency Name="System.Runtime.Numerics.TestData" Version="8.0.0-beta.25625.3">
362362
<Uri>https://github.com/dotnet/runtime-assets</Uri>
363-
<Sha>40ac8f2e43695322e5472fef7f3ad85cfdd83e1e</Sha>
363+
<Sha>98185bc6d28f41decb681555c343a62b3c6c165e</Sha>
364364
</Dependency>
365365
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="4.8.0-7.23566.2">
366366
<Uri>https://github.com/dotnet/roslyn</Uri>

eng/Versions.props

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -155,20 +155,20 @@
155155
<SystemValueTupleVersion>4.5.0</SystemValueTupleVersion>
156156
<runtimenativeSystemIOPortsVersion>8.0.0-rc.1.23406.6</runtimenativeSystemIOPortsVersion>
157157
<!-- Runtime-Assets dependencies -->
158-
<SystemRuntimeNumericsTestDataVersion>8.0.0-beta.25565.1</SystemRuntimeNumericsTestDataVersion>
159-
<SystemComponentModelTypeConverterTestDataVersion>8.0.0-beta.25565.1</SystemComponentModelTypeConverterTestDataVersion>
160-
<SystemDataCommonTestDataVersion>8.0.0-beta.25565.1</SystemDataCommonTestDataVersion>
161-
<SystemDrawingCommonTestDataVersion>8.0.0-beta.25565.1</SystemDrawingCommonTestDataVersion>
162-
<SystemFormatsTarTestDataVersion>8.0.0-beta.25565.1</SystemFormatsTarTestDataVersion>
163-
<SystemIOCompressionTestDataVersion>8.0.0-beta.25565.1</SystemIOCompressionTestDataVersion>
164-
<SystemIOPackagingTestDataVersion>8.0.0-beta.25565.1</SystemIOPackagingTestDataVersion>
165-
<SystemNetTestDataVersion>8.0.0-beta.25565.1</SystemNetTestDataVersion>
166-
<SystemPrivateRuntimeUnicodeDataVersion>8.0.0-beta.25565.1</SystemPrivateRuntimeUnicodeDataVersion>
167-
<SystemRuntimeTimeZoneDataVersion>8.0.0-beta.25565.1</SystemRuntimeTimeZoneDataVersion>
168-
<SystemSecurityCryptographyX509CertificatesTestDataVersion>8.0.0-beta.25565.1</SystemSecurityCryptographyX509CertificatesTestDataVersion>
169-
<SystemTextRegularExpressionsTestDataVersion>8.0.0-beta.25565.1</SystemTextRegularExpressionsTestDataVersion>
170-
<SystemWindowsExtensionsTestDataVersion>8.0.0-beta.25565.1</SystemWindowsExtensionsTestDataVersion>
171-
<MicrosoftDotNetCilStripSourcesVersion>8.0.0-beta.25565.1</MicrosoftDotNetCilStripSourcesVersion>
158+
<SystemRuntimeNumericsTestDataVersion>8.0.0-beta.25625.3</SystemRuntimeNumericsTestDataVersion>
159+
<SystemComponentModelTypeConverterTestDataVersion>8.0.0-beta.25625.3</SystemComponentModelTypeConverterTestDataVersion>
160+
<SystemDataCommonTestDataVersion>8.0.0-beta.25625.3</SystemDataCommonTestDataVersion>
161+
<SystemDrawingCommonTestDataVersion>8.0.0-beta.25625.3</SystemDrawingCommonTestDataVersion>
162+
<SystemFormatsTarTestDataVersion>8.0.0-beta.25625.3</SystemFormatsTarTestDataVersion>
163+
<SystemIOCompressionTestDataVersion>8.0.0-beta.25625.3</SystemIOCompressionTestDataVersion>
164+
<SystemIOPackagingTestDataVersion>8.0.0-beta.25625.3</SystemIOPackagingTestDataVersion>
165+
<SystemNetTestDataVersion>8.0.0-beta.25625.3</SystemNetTestDataVersion>
166+
<SystemPrivateRuntimeUnicodeDataVersion>8.0.0-beta.25625.3</SystemPrivateRuntimeUnicodeDataVersion>
167+
<SystemRuntimeTimeZoneDataVersion>8.0.0-beta.25625.3</SystemRuntimeTimeZoneDataVersion>
168+
<SystemSecurityCryptographyX509CertificatesTestDataVersion>8.0.0-beta.25625.3</SystemSecurityCryptographyX509CertificatesTestDataVersion>
169+
<SystemTextRegularExpressionsTestDataVersion>8.0.0-beta.25625.3</SystemTextRegularExpressionsTestDataVersion>
170+
<SystemWindowsExtensionsTestDataVersion>8.0.0-beta.25625.3</SystemWindowsExtensionsTestDataVersion>
171+
<MicrosoftDotNetCilStripSourcesVersion>8.0.0-beta.25625.3</MicrosoftDotNetCilStripSourcesVersion>
172172
<!-- dotnet-optimization dependencies -->
173173
<optimizationwindows_ntx64MIBCRuntimeVersion>1.0.0-prerelease.23566.3</optimizationwindows_ntx64MIBCRuntimeVersion>
174174
<optimizationwindows_ntx86MIBCRuntimeVersion>1.0.0-prerelease.23566.3</optimizationwindows_ntx86MIBCRuntimeVersion>
@@ -184,10 +184,11 @@
184184
<NetStandardLibraryVersion>2.0.3</NetStandardLibraryVersion>
185185
<MicrosoftDiagnosticsToolsRuntimeClientVersion>1.0.4-preview6.19326.1</MicrosoftDiagnosticsToolsRuntimeClientVersion>
186186
<DNNEVersion>2.0.5</DNNEVersion>
187+
<!-- Intentionally using explicit versions for all MSBuild properties - required by source-build. -->
187188
<MicrosoftBuildVersion>17.8.3</MicrosoftBuildVersion>
188-
<MicrosoftBuildTasksCoreVersion>$(MicrosoftBuildVersion)</MicrosoftBuildTasksCoreVersion>
189-
<MicrosoftBuildFrameworkVersion>$(MicrosoftBuildVersion)</MicrosoftBuildFrameworkVersion>
190-
<MicrosoftBuildUtilitiesCoreVersion>$(MicrosoftBuildVersion)</MicrosoftBuildUtilitiesCoreVersion>
189+
<MicrosoftBuildTasksCoreVersion>17.8.3</MicrosoftBuildTasksCoreVersion>
190+
<MicrosoftBuildFrameworkVersion>17.8.3</MicrosoftBuildFrameworkVersion>
191+
<MicrosoftBuildUtilitiesCoreVersion>17.8.3</MicrosoftBuildUtilitiesCoreVersion>
191192
<NugetFrameworksVersion>6.2.4</NugetFrameworksVersion>
192193
<NugetProjectModelVersion>6.2.4</NugetProjectModelVersion>
193194
<NugetPackagingVersion>6.2.4</NugetPackagingVersion>
@@ -200,7 +201,7 @@
200201
<MicrosoftDotNetXHarnessTestRunnersCommonVersion>8.0.0-prerelease.25516.2</MicrosoftDotNetXHarnessTestRunnersCommonVersion>
201202
<MicrosoftDotNetXHarnessTestRunnersXunitVersion>8.0.0-prerelease.25516.2</MicrosoftDotNetXHarnessTestRunnersXunitVersion>
202203
<MicrosoftDotNetXHarnessCLIVersion>8.0.0-prerelease.25516.2</MicrosoftDotNetXHarnessCLIVersion>
203-
<MicrosoftDotNetHotReloadUtilsGeneratorBuildToolVersion>8.0.0-alpha.0.25574.3</MicrosoftDotNetHotReloadUtilsGeneratorBuildToolVersion>
204+
<MicrosoftDotNetHotReloadUtilsGeneratorBuildToolVersion>8.0.0-alpha.0.25625.3</MicrosoftDotNetHotReloadUtilsGeneratorBuildToolVersion>
204205
<XUnitVersion>2.4.2</XUnitVersion>
205206
<XUnitAnalyzersVersion>1.0.0</XUnitAnalyzersVersion>
206207
<XUnitRunnerVisualStudioVersion>2.4.5</XUnitRunnerVisualStudioVersion>
@@ -231,7 +232,7 @@
231232
<!-- ILCompiler -->
232233
<MicrosoftDotNetILCompilerVersion>8.0.0-rc.1.23406.6</MicrosoftDotNetILCompilerVersion>
233234
<!-- ICU -->
234-
<MicrosoftNETCoreRuntimeICUTransportVersion>8.0.0-rtm.25565.1</MicrosoftNETCoreRuntimeICUTransportVersion>
235+
<MicrosoftNETCoreRuntimeICUTransportVersion>8.0.0-rtm.25625.2</MicrosoftNETCoreRuntimeICUTransportVersion>
235236
<!-- MsQuic -->
236237
<MicrosoftNativeQuicMsQuicSchannelVersion>2.4.8</MicrosoftNativeQuicMsQuicSchannelVersion>
237238
<!-- Mono LLVM -->

eng/docker/build-docker-sdk.ps1

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ Param(
99
[switch][Alias('w')]$buildWindowsContainers
1010
)
1111

12-
$dotNetVersion="8.0"
1312
$ErrorActionPreference = "Stop"
1413

1514
$REPO_ROOT_DIR=$(git -C "$PSScriptRoot" rev-parse --show-toplevel)
15+
[xml]$xml = Get-Content (Join-Path $REPO_ROOT_DIR "eng\Versions.props")
16+
$VERSION="$($xml.Project.PropertyGroup.MajorVersion[0]).$($xml.Project.PropertyGroup.MinorVersion[0])"
1617

1718
$dockerFilePrefix="$PSScriptRoot/libraries-sdk"
1819

@@ -29,7 +30,7 @@ if ($buildWindowsContainers)
2930
}
3031

3132
$dockerFile="$dockerFilePrefix.windows.Dockerfile"
32-
33+
3334
# Collect the following artifacts to folder, that will be used as build context for the container,
3435
# so projects can build and test against the live-built runtime:
3536
# 1. Reference assembly pack (microsoft.netcore.app.ref)
@@ -54,15 +55,16 @@ if ($buildWindowsContainers)
5455
-Destination $dockerContext\targetingpacks.targets
5556
Copy-Item -Recurse -Path $REPO_ROOT_DIR\src\libraries\System.Net.Quic\src\System\Net\Quic\Interop `
5657
-Destination $dockerContext\msquic-interop
57-
58+
5859
# In case of non-CI builds, testhost may already contain Microsoft.AspNetCore.App (see build-local.ps1 in HttpStress):
59-
$testHostAspNetCorePath="$dockerContext\testhost\net$dotNetVersion-windows-$configuration-x64/shared/Microsoft.AspNetCore.App"
60+
$testHostAspNetCorePath="$dockerContext\testhost\net$VERSION-windows-$configuration-x64/shared/Microsoft.AspNetCore.App"
6061
if (Test-Path $testHostAspNetCorePath) {
6162
Remove-Item -Recurse -Force $testHostAspNetCorePath
6263
}
63-
64+
6465
docker build --tag $imageName `
6566
--build-arg CONFIGURATION=$configuration `
67+
--build-arg VERSION=$VERSION `
6668
--file $dockerFile `
6769
$dockerContext
6870
}
@@ -73,6 +75,7 @@ else
7375

7476
docker build --tag $imageName `
7577
--build-arg CONFIGURATION=$configuration `
78+
--build-arg "VERSION=$VERSION" `
7679
--file $dockerFile `
7780
$REPO_ROOT_DIR
7881
}

eng/docker/build-docker-sdk.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,12 @@ scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
2323

2424
imagename="dotnet-sdk-libs-current"
2525
configuration="Release"
26+
repo_root=$(git -C "$scriptroot" rev-parse --show-toplevel)
27+
major_version=$(grep -oP '(?<=<MajorVersion>).*?(?=</MajorVersion>)' "$repo_root/eng/Versions.props")
28+
minor_version=$(grep -oP '(?<=<MinorVersion>).*?(?=</MinorVersion>)' "$repo_root/eng/Versions.props")
29+
version="$major_version.$minor_version"
2630

27-
while [[ $# > 0 ]]; do
31+
while [[ $# -gt 0 ]]; do
2832
opt="$(echo "${1/#--/-}" | tr "[:upper:]" "[:lower:]")"
2933
case "$opt" in
3034
-imagename|-t)
@@ -41,12 +45,12 @@ while [[ $# > 0 ]]; do
4145
esac
4246
done
4347

44-
repo_root=$(git rev-parse --show-toplevel)
4548
docker_file="$scriptroot/libraries-sdk.linux.Dockerfile"
4649

4750
docker build --tag $imagename \
4851
--build-arg CONFIGURATION=$configuration \
52+
--build-arg VERSION=$version \
4953
--file $docker_file \
5054
$repo_root
5155

52-
exit $?
56+
exit $?

eng/docker/libraries-sdk.linux.Dockerfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Builds and copies library artifacts into target dotnet sdk image
22
ARG BUILD_BASE_IMAGE=mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8
3-
ARG SDK_BASE_IMAGE=mcr.microsoft.com/dotnet/nightly/sdk:7.0-bullseye-slim
3+
ARG SDK_BASE_IMAGE=mcr.microsoft.com/dotnet/nightly/sdk:latest
44

55
FROM $BUILD_BASE_IMAGE as corefxbuild
66

@@ -12,12 +12,15 @@ RUN ./build.sh clr+libs -runtimeconfiguration Release -configuration $CONFIGURAT
1212

1313
FROM $SDK_BASE_IMAGE as target
1414

15-
ARG VERSION=8.0
15+
ARG VERSION
1616
ARG CONFIGURATION=Release
1717
ENV _DOTNET_INSTALL_CHANNEL=$VERSION
1818

19+
# remove the existing SDK, we want to start from a clean slate with latest daily
20+
RUN rm -rf /usr/share/dotnet
21+
1922
# Install latest daily SDK:
20-
RUN wget https://dot.net/v1/dotnet-install.sh
23+
RUN wget https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh
2124
RUN bash ./dotnet-install.sh --channel $_DOTNET_INSTALL_CHANNEL --quality daily --install-dir /usr/share/dotnet
2225

2326
# Collect the following artifacts under /live-runtime-artifacts,
@@ -48,8 +51,8 @@ COPY --from=corefxbuild \
4851
/repo/src/libraries/System.Net.Quic/src/System/Net/Quic/Interop \
4952
/live-runtime-artifacts/msquic-interop
5053

51-
# Add AspNetCore bits to testhost:
52-
ENV _ASPNETCORE_SOURCE="/usr/share/dotnet/shared/Microsoft.AspNetCore.App/$VERSION*"
54+
# Add AspNetCore bits to testhost, there should be only one version since we started from an image without existing SDK:
55+
ENV _ASPNETCORE_SOURCE="/usr/share/dotnet/shared/Microsoft.AspNetCore.App/*"
5356
ENV _ASPNETCORE_DEST="/live-runtime-artifacts/testhost/net$VERSION-linux-$CONFIGURATION-x64/shared/Microsoft.AspNetCore.App"
5457
RUN mkdir -p $_ASPNETCORE_DEST
5558
RUN cp -r $_ASPNETCORE_SOURCE $_ASPNETCORE_DEST
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# escape=`
22
# Simple Dockerfile which copies clr and library build artifacts into target dotnet sdk image
3-
ARG SDK_BASE_IMAGE=mcr.microsoft.com/dotnet/nightly/sdk:7.0-nanoserver-ltsc2022
3+
ARG SDK_BASE_IMAGE=mcr.microsoft.com/dotnet/nightly/sdk:8.0-nanoserver-ltsc2022
44
FROM $SDK_BASE_IMAGE as target
55

66
SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
@@ -11,15 +11,18 @@ ARG CONFIGURATION=Release
1111

1212
USER ContainerAdministrator
1313

14-
RUN Invoke-WebRequest -Uri https://dot.net/v1/dotnet-install.ps1 -OutFile .\dotnet-install.ps1
14+
# remove the existing ASP.NET SDK, we want to keep only the latest one we download later
15+
RUN Remove-Item -Force -Recurse 'C:/Program Files/dotnet/shared/Microsoft.AspNetCore.App/*'
16+
17+
RUN Invoke-WebRequest -Uri https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.ps1 -OutFile .\dotnet-install.ps1
1518
RUN & .\dotnet-install.ps1 -Channel $env:_DOTNET_INSTALL_CHANNEL -Quality daily -InstallDir 'C:/Program Files/dotnet'
1619

1720
USER ContainerUser
1821

1922
COPY . /live-runtime-artifacts
2023

2124
# Add AspNetCore bits to testhost:
22-
ENV _ASPNETCORE_SOURCE="C:/Program Files/dotnet/shared/Microsoft.AspNetCore.App/$VERSION*"
25+
ENV _ASPNETCORE_SOURCE="C:/Program Files/dotnet/shared/Microsoft.AspNetCore.App/*"
2326
ENV _ASPNETCORE_DEST="C:/live-runtime-artifacts/testhost/net$VERSION-windows-$CONFIGURATION-x64/shared/Microsoft.AspNetCore.App"
2427
RUN & New-Item -ItemType Directory -Path $env:_ASPNETCORE_DEST
2528
RUN Copy-Item -Recurse -Path $env:_ASPNETCORE_SOURCE -Destination $env:_ASPNETCORE_DEST

eng/pipelines/common/evaluate-paths-job.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
- checkout: self
3535
clean: true
3636
fetchDepth: 2
37+
fetchTags: false
3738

3839
- ${{ if ne(parameters.paths[0], '') }}:
3940
- ${{ each path in parameters.paths }}:

eng/pipelines/common/global-build-job.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ jobs:
149149

150150
- checkout: self
151151
clean: true
152+
fetchTags: false
152153
# If running in source build mode, a git stash will be used for the inner clone. Avoid setting a fetch depth,
153154
# as a stash of a shallow cloned repo is not currently supported.
154155
${{ if ne(parameters.isSourceBuild, true) }}:

eng/pipelines/common/templates/runtimes/xplat-job.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,6 @@ jobs:
104104
- checkout: self
105105
clean: true
106106
fetchDepth: $(checkoutFetchDepth)
107+
fetchTags: false
107108

108109
- ${{ parameters.steps }}

0 commit comments

Comments
 (0)