Skip to content

Commit cd6a910

Browse files
authored
Add .NET Framework 4.8 (#270)
Includes new .NET Framework 4.8 images and also updates the 3.5 SDK images to use .NET SDK 4.8.
2 parents 36fb681 + af3f253 commit cd6a910

File tree

27 files changed

+772
-43
lines changed

27 files changed

+772
-43
lines changed

3.5/sdk/windowsservercore-1803/Dockerfile

+25-7
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@
33
ARG REPO=mcr.microsoft.com/dotnet/framework/runtime
44
FROM $REPO:3.5-windowsservercore-1803
55

6+
# Install .NET 4.8 Fx
7+
RUN powershell -Command `
8+
$ProgressPreference = 'SilentlyContinue'; `
9+
Invoke-WebRequest -Uri "https://download.visualstudio.microsoft.com/download/pr/7afca223-55d2-470a-8edc-6a1739ae3252/abd170b4b0ec15ad0222a809b761a036/ndp48-x86-x64-allos-enu.exe" -OutFile dotnet-framework-installer.exe & `
10+
.\dotnet-framework-installer.exe /q & `
11+
del .\dotnet-framework-installer.exe & `
12+
powershell Remove-Item -Force -Recurse ${Env:TEMP}\*
13+
14+
# ngen .NET Fx
15+
RUN \Windows\Microsoft.NET\Framework64\v4.0.30319\ngen update & `
16+
\Windows\Microsoft.NET\Framework\v4.0.30319\ngen update
17+
18+
# Can't set SHELL prior to installing 4.8 runtime - PowerShell being loaded prevents GAC from getting updated without restart
619
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
720

821
# Install NuGet CLI
@@ -22,16 +35,21 @@ RUN Invoke-WebRequest -UseBasicParsing https://download.visualstudio.microsoft.c
2235
-ArgumentList `
2336
'--add', 'Microsoft.VisualStudio.Workload.MSBuildTools', `
2437
'--add', 'Microsoft.VisualStudio.Workload.NetCoreBuildTools', `
25-
'--add', 'Microsoft.Net.Component.4.7.2.SDK', `
2638
'--add', 'Microsoft.Component.ClickOnce.MSBuild', `
2739
'--quiet', '--norestart', '--nocache' `
2840
-NoNewWindow -Wait; `
2941
Remove-Item -Force vs_buildtools.exe; `
3042
Remove-Item -Force -Recurse \"${Env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\"; `
3143
Remove-Item -Force -Recurse ${Env:TEMP}\*; `
32-
Remove-Item -Force -Recurse \"${Env:ProgramData}\Microsoft\VisualStudio\Packages\"; `
3344
Remove-Item -Force -Recurse \"${Env:ProgramData}\Package Cache\"
3445

46+
# Install .NET 4.8 SDK
47+
RUN Invoke-WebRequest -UseBasicParsing https://dotnetbinaries.blob.core.windows.net/dockerassets/sdk_tools48.zip -OutFile sdk_tools48.zip; `
48+
Expand-Archive sdk_tools48.zip; `
49+
Start-Process msiexec -ArgumentList '/i', 'sdk_tools48\sdk_tools48.msi', '/quiet', 'VSEXTUI=1' -NoNewWindow -Wait; `
50+
Remove-Item -Force -Recurse sdk_tools48; `
51+
Remove-Item -Force -Recurse ${Env:TEMP}\*
52+
3553
# Install web targets
3654
RUN Invoke-WebRequest -UseBasicParsing https://dotnetbinaries.blob.core.windows.net/dockerassets/MSBuild.Microsoft.VisualStudio.Web.targets.2019.04.zip -OutFile MSBuild.Microsoft.VisualStudio.Web.targets.zip;`
3755
Expand-Archive MSBuild.Microsoft.VisualStudio.Web.targets.zip -DestinationPath \"${Env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\BuildTools\MSBuild\Microsoft\VisualStudio\v16.0\"; `
@@ -42,9 +60,9 @@ ENV ROSLYN_COMPILER_LOCATION "C:\Program Files (x86)\Microsoft Visual Studio\201
4260
# ngen assemblies queued by VS installers - must be done in cmd shell to avoid access issues
4361
SHELL ["cmd", "/S", "/C"]
4462
RUN `
45-
# Workaround for issue with 32 bit assemblies from Microsoft.Net.Component.4.7.2.SDK being 64 bit ngen'ed
46-
\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen uninstall "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools\SecAnnotate.exe" `
47-
&& \Windows\Microsoft.NET\Framework64\v4.0.30319\ngen uninstall "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools\WinMDExp.exe" `
63+
# Workaround for issue with 32 bit assemblies from .NET Framework 4.8 SDK being 64 bit ngen'ed
64+
\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen uninstall "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\SecAnnotate.exe" `
65+
&& \Windows\Microsoft.NET\Framework64\v4.0.30319\ngen uninstall "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\WinMDExp.exe" `
4866
`
4967
&& \Windows\Microsoft.NET\Framework64\v4.0.30319\ngen update `
5068
`
@@ -61,11 +79,11 @@ RUN setx /M PATH $(${Env:PATH} `
6179
+ \";${Env:ProgramFiles}\NuGet\" `
6280
+ \";${Env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\TestAgent\Common7\IDE\CommonExtensions\Microsoft\TestWindow\" `
6381
+ \";${Env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\" `
64-
+ \";${Env:ProgramFiles(x86)}\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools\" `
82+
+ \";${Env:ProgramFiles(x86)}\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\" `
6583
+ \";${Env:ProgramFiles(x86)}\Microsoft SDKs\ClickOnce\SignTool\")
6684

6785
# Install Targeting Packs
68-
RUN @('4.0', '4.5.2', '4.6.2', '4.7.2') `
86+
RUN @('4.0', '4.5.2', '4.6.2', '4.7.2', '4.8') `
6987
| %{ `
7088
Invoke-WebRequest -UseBasicParsing https://dotnetbinaries.blob.core.windows.net/referenceassemblies/v${_}.zip -OutFile referenceassemblies.zip; `
7189
Expand-Archive referenceassemblies.zip -DestinationPath \"${Env:ProgramFiles(x86)}\Reference Assemblies\Microsoft\Framework\.NETFramework\"; `

3.5/sdk/windowsservercore-ltsc2016/Dockerfile

+17-10
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
ARG REPO=mcr.microsoft.com/dotnet/framework/runtime
44
FROM $REPO:3.5-windowsservercore-ltsc2016
55

6-
# Install .NET 4.7.2
7-
RUN powershell Invoke-WebRequest -Uri "https://download.microsoft.com/download/6/E/4/6E48E8AB-DC00-419E-9704-06DD46E5F81D/NDP472-KB4054530-x86-x64-AllOS-ENU.exe" -OutFile dotnet-framework-installer.exe & `
6+
# Install .NET 4.8 Fx
7+
RUN powershell -Command `
8+
$ProgressPreference = 'SilentlyContinue'; `
9+
Invoke-WebRequest -Uri "https://download.visualstudio.microsoft.com/download/pr/7afca223-55d2-470a-8edc-6a1739ae3252/abd170b4b0ec15ad0222a809b761a036/ndp48-x86-x64-allos-enu.exe" -OutFile dotnet-framework-installer.exe & `
810
.\dotnet-framework-installer.exe /q & `
911
del .\dotnet-framework-installer.exe & `
1012
powershell Remove-Item -Force -Recurse ${Env:TEMP}\*
@@ -13,7 +15,7 @@ RUN powershell Invoke-WebRequest -Uri "https://download.microsoft.com/download/6
1315
RUN \Windows\Microsoft.NET\Framework64\v4.0.30319\ngen update & `
1416
\Windows\Microsoft.NET\Framework\v4.0.30319\ngen update
1517

16-
# Can't set SHELL prior to installing 4.7.2 runtime - PowerShell being loaded prevents GAC from getting updated without restart
18+
# Can't set SHELL prior to installing 4.8 runtime - PowerShell being loaded prevents GAC from getting updated without restart
1719
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
1820

1921
# Install NuGet CLI
@@ -33,16 +35,21 @@ RUN Invoke-WebRequest -UseBasicParsing https://download.visualstudio.microsoft.c
3335
-ArgumentList `
3436
'--add', 'Microsoft.VisualStudio.Workload.MSBuildTools', `
3537
'--add', 'Microsoft.VisualStudio.Workload.NetCoreBuildTools', `
36-
'--add', 'Microsoft.Net.Component.4.7.2.SDK', `
3738
'--add', 'Microsoft.Component.ClickOnce.MSBuild', `
3839
'--quiet', '--norestart', '--nocache' `
3940
-NoNewWindow -Wait; `
4041
Remove-Item -Force vs_buildtools.exe; `
4142
Remove-Item -Force -Recurse \"${Env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\"; `
4243
Remove-Item -Force -Recurse ${Env:TEMP}\*; `
43-
Remove-Item -Force -Recurse \"${Env:ProgramData}\Microsoft\VisualStudio\Packages\"; `
4444
Remove-Item -Force -Recurse \"${Env:ProgramData}\Package Cache\"
4545

46+
# Install .NET 4.8 SDK
47+
RUN Invoke-WebRequest -UseBasicParsing https://dotnetbinaries.blob.core.windows.net/dockerassets/sdk_tools48.zip -OutFile sdk_tools48.zip; `
48+
Expand-Archive sdk_tools48.zip; `
49+
Start-Process msiexec -ArgumentList '/i', 'sdk_tools48\sdk_tools48.msi', '/quiet', 'VSEXTUI=1' -NoNewWindow -Wait; `
50+
Remove-Item -Force -Recurse sdk_tools48; `
51+
Remove-Item -Force -Recurse ${Env:TEMP}\*
52+
4653
# Install web targets
4754
RUN Invoke-WebRequest -UseBasicParsing https://dotnetbinaries.blob.core.windows.net/dockerassets/MSBuild.Microsoft.VisualStudio.Web.targets.2019.04.zip -OutFile MSBuild.Microsoft.VisualStudio.Web.targets.zip;`
4855
Expand-Archive MSBuild.Microsoft.VisualStudio.Web.targets.zip -DestinationPath \"${Env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\BuildTools\MSBuild\Microsoft\VisualStudio\v16.0\"; `
@@ -53,9 +60,9 @@ ENV ROSLYN_COMPILER_LOCATION "C:\Program Files (x86)\Microsoft Visual Studio\201
5360
# ngen assemblies queued by VS installers - must be done in cmd shell to avoid access issues
5461
SHELL ["cmd", "/S", "/C"]
5562
RUN `
56-
# Workaround for issue with 32 bit assemblies from Microsoft.Net.Component.4.7.2.SDK being 64 bit ngen'ed
57-
\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen uninstall "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools\SecAnnotate.exe" `
58-
&& \Windows\Microsoft.NET\Framework64\v4.0.30319\ngen uninstall "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools\WinMDExp.exe" `
63+
# Workaround for issue with 32 bit assemblies from .NET Framework 4.8 SDK being 64 bit ngen'ed
64+
\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen uninstall "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\SecAnnotate.exe" `
65+
&& \Windows\Microsoft.NET\Framework64\v4.0.30319\ngen uninstall "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\WinMDExp.exe" `
5966
`
6067
&& \Windows\Microsoft.NET\Framework64\v4.0.30319\ngen update `
6168
`
@@ -72,11 +79,11 @@ RUN setx /M PATH $(${Env:PATH} `
7279
+ \";${Env:ProgramFiles}\NuGet\" `
7380
+ \";${Env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\TestAgent\Common7\IDE\CommonExtensions\Microsoft\TestWindow\" `
7481
+ \";${Env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\" `
75-
+ \";${Env:ProgramFiles(x86)}\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools\" `
82+
+ \";${Env:ProgramFiles(x86)}\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\" `
7683
+ \";${Env:ProgramFiles(x86)}\Microsoft SDKs\ClickOnce\SignTool\")
7784

7885
# Install Targeting Packs
79-
RUN @('4.0', '4.5.2', '4.6.2', '4.7.2') `
86+
RUN @('4.0', '4.5.2', '4.6.2', '4.7.2', '4.8') `
8087
| %{ `
8188
Invoke-WebRequest -UseBasicParsing https://dotnetbinaries.blob.core.windows.net/referenceassemblies/v${_}.zip -OutFile referenceassemblies.zip; `
8289
Expand-Archive referenceassemblies.zip -DestinationPath \"${Env:ProgramFiles(x86)}\Reference Assemblies\Microsoft\Framework\.NETFramework\"; `

3.5/sdk/windowsservercore-ltsc2019/Dockerfile

+25-7
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@
33
ARG REPO=mcr.microsoft.com/dotnet/framework/runtime
44
FROM $REPO:3.5-windowsservercore-ltsc2019
55

6+
# Install .NET 4.8 Fx
7+
RUN powershell -Command `
8+
$ProgressPreference = 'SilentlyContinue'; `
9+
Invoke-WebRequest -Uri "https://download.visualstudio.microsoft.com/download/pr/7afca223-55d2-470a-8edc-6a1739ae3252/abd170b4b0ec15ad0222a809b761a036/ndp48-x86-x64-allos-enu.exe" -OutFile dotnet-framework-installer.exe & `
10+
.\dotnet-framework-installer.exe /q & `
11+
del .\dotnet-framework-installer.exe & `
12+
powershell Remove-Item -Force -Recurse ${Env:TEMP}\*
13+
14+
# ngen .NET Fx
15+
RUN \Windows\Microsoft.NET\Framework64\v4.0.30319\ngen update & `
16+
\Windows\Microsoft.NET\Framework\v4.0.30319\ngen update
17+
18+
# Can't set SHELL prior to installing 4.8 runtime - PowerShell being loaded prevents GAC from getting updated without restart
619
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
720

821
# Install NuGet CLI
@@ -22,16 +35,21 @@ RUN Invoke-WebRequest -UseBasicParsing https://download.visualstudio.microsoft.c
2235
-ArgumentList `
2336
'--add', 'Microsoft.VisualStudio.Workload.MSBuildTools', `
2437
'--add', 'Microsoft.VisualStudio.Workload.NetCoreBuildTools', `
25-
'--add', 'Microsoft.Net.Component.4.7.2.SDK', `
2638
'--add', 'Microsoft.Component.ClickOnce.MSBuild', `
2739
'--quiet', '--norestart', '--nocache' `
2840
-NoNewWindow -Wait; `
2941
Remove-Item -Force vs_buildtools.exe; `
3042
Remove-Item -Force -Recurse \"${Env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\"; `
3143
Remove-Item -Force -Recurse ${Env:TEMP}\*; `
32-
Remove-Item -Force -Recurse \"${Env:ProgramData}\Microsoft\VisualStudio\Packages\"; `
3344
Remove-Item -Force -Recurse \"${Env:ProgramData}\Package Cache\"
3445

46+
# Install .NET 4.8 SDK
47+
RUN Invoke-WebRequest -UseBasicParsing https://dotnetbinaries.blob.core.windows.net/dockerassets/sdk_tools48.zip -OutFile sdk_tools48.zip; `
48+
Expand-Archive sdk_tools48.zip; `
49+
Start-Process msiexec -ArgumentList '/i', 'sdk_tools48\sdk_tools48.msi', '/quiet', 'VSEXTUI=1' -NoNewWindow -Wait; `
50+
Remove-Item -Force -Recurse sdk_tools48; `
51+
Remove-Item -Force -Recurse ${Env:TEMP}\*
52+
3553
# Install web targets
3654
RUN Invoke-WebRequest -UseBasicParsing https://dotnetbinaries.blob.core.windows.net/dockerassets/MSBuild.Microsoft.VisualStudio.Web.targets.2019.04.zip -OutFile MSBuild.Microsoft.VisualStudio.Web.targets.zip;`
3755
Expand-Archive MSBuild.Microsoft.VisualStudio.Web.targets.zip -DestinationPath \"${Env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\BuildTools\MSBuild\Microsoft\VisualStudio\v16.0\"; `
@@ -42,9 +60,9 @@ ENV ROSLYN_COMPILER_LOCATION "C:\Program Files (x86)\Microsoft Visual Studio\201
4260
# ngen assemblies queued by VS installers - must be done in cmd shell to avoid access issues
4361
SHELL ["cmd", "/S", "/C"]
4462
RUN `
45-
# Workaround for issue with 32 bit assemblies from Microsoft.Net.Component.4.7.2.SDK being 64 bit ngen'ed
46-
\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen uninstall "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools\SecAnnotate.exe" `
47-
&& \Windows\Microsoft.NET\Framework64\v4.0.30319\ngen uninstall "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools\WinMDExp.exe" `
63+
# Workaround for issue with 32 bit assemblies from .NET Framework 4.8 SDK being 64 bit ngen'ed
64+
\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen uninstall "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\SecAnnotate.exe" `
65+
&& \Windows\Microsoft.NET\Framework64\v4.0.30319\ngen uninstall "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\WinMDExp.exe" `
4866
`
4967
&& \Windows\Microsoft.NET\Framework64\v4.0.30319\ngen update `
5068
`
@@ -61,11 +79,11 @@ RUN setx /M PATH $(${Env:PATH} `
6179
+ \";${Env:ProgramFiles}\NuGet\" `
6280
+ \";${Env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\TestAgent\Common7\IDE\CommonExtensions\Microsoft\TestWindow\" `
6381
+ \";${Env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\" `
64-
+ \";${Env:ProgramFiles(x86)}\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools\" `
82+
+ \";${Env:ProgramFiles(x86)}\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\" `
6583
+ \";${Env:ProgramFiles(x86)}\Microsoft SDKs\ClickOnce\SignTool\")
6684

6785
# Install Targeting Packs
68-
RUN @('4.0', '4.5.2', '4.6.2', '4.7.2') `
86+
RUN @('4.0', '4.5.2', '4.6.2', '4.7.2', '4.8') `
6987
| %{ `
7088
Invoke-WebRequest -UseBasicParsing https://dotnetbinaries.blob.core.windows.net/referenceassemblies/v${_}.zip -OutFile referenceassemblies.zip; `
7189
Expand-Archive referenceassemblies.zip -DestinationPath \"${Env:ProgramFiles(x86)}\Reference Assemblies\Microsoft\Framework\.NETFramework\"; `
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# escape=`
2+
3+
FROM mcr.microsoft.com/windows/servercore:1803
4+
5+
# Install .NET 4.8
6+
RUN powershell -Command `
7+
$ProgressPreference = 'SilentlyContinue'; `
8+
Invoke-WebRequest -Uri "https://download.visualstudio.microsoft.com/download/pr/7afca223-55d2-470a-8edc-6a1739ae3252/abd170b4b0ec15ad0222a809b761a036/ndp48-x86-x64-allos-enu.exe" -OutFile dotnet-framework-installer.exe & `
9+
.\dotnet-framework-installer.exe /q & `
10+
del .\dotnet-framework-installer.exe & `
11+
powershell Remove-Item -Force -Recurse ${Env:TEMP}\*
12+
13+
# ngen .NET Fx
14+
ENV COMPLUS_NGenProtectedProcess_FeatureEnabled 0
15+
RUN \Windows\Microsoft.NET\Framework64\v4.0.30319\ngen update & `
16+
\Windows\Microsoft.NET\Framework\v4.0.30319\ngen update
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# escape=`
2+
3+
FROM mcr.microsoft.com/windows/servercore:ltsc2016
4+
5+
# Install .NET 4.8
6+
RUN powershell -Command `
7+
$ProgressPreference = 'SilentlyContinue'; `
8+
Invoke-WebRequest -Uri "https://download.visualstudio.microsoft.com/download/pr/7afca223-55d2-470a-8edc-6a1739ae3252/abd170b4b0ec15ad0222a809b761a036/ndp48-x86-x64-allos-enu.exe" -OutFile dotnet-framework-installer.exe & `
9+
.\dotnet-framework-installer.exe /q & `
10+
del .\dotnet-framework-installer.exe & `
11+
powershell Remove-Item -Force -Recurse ${Env:TEMP}\*
12+
13+
# ngen .NET Fx
14+
ENV COMPLUS_NGenProtectedProcess_FeatureEnabled 0
15+
RUN \Windows\Microsoft.NET\Framework64\v4.0.30319\ngen update & `
16+
\Windows\Microsoft.NET\Framework\v4.0.30319\ngen update
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# escape=`
2+
3+
FROM mcr.microsoft.com/windows/servercore:ltsc2019
4+
5+
# Install .NET 4.8
6+
RUN powershell -Command `
7+
$ProgressPreference = 'SilentlyContinue'; `
8+
Invoke-WebRequest -Uri "https://download.visualstudio.microsoft.com/download/pr/7afca223-55d2-470a-8edc-6a1739ae3252/abd170b4b0ec15ad0222a809b761a036/ndp48-x86-x64-allos-enu.exe" -OutFile dotnet-framework-installer.exe & `
9+
.\dotnet-framework-installer.exe /q & `
10+
del .\dotnet-framework-installer.exe & `
11+
powershell Remove-Item -Force -Recurse ${Env:TEMP}\*
12+
13+
# ngen .NET Fx
14+
ENV COMPLUS_NGenProtectedProcess_FeatureEnabled 0
15+
RUN \Windows\Microsoft.NET\Framework64\v4.0.30319\ngen update & `
16+
\Windows\Microsoft.NET\Framework\v4.0.30319\ngen update

0 commit comments

Comments
 (0)