Skip to content

Commit e7d941b

Browse files
authored
Merge pull request #104101 from Lxiamail/patch-1
Update cloud-services-dotnet-install-dotnet.md with .NET Framework 4.8.1
2 parents 704e024 + ba0626b commit e7d941b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

articles/cloud-services/cloud-services-dotnet-install-dotnet.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ To install .NET on your web and worker roles, include the .NET web installer as
2525
## Add the .NET installer to your project
2626
To download the web installer for the .NET Framework, choose the version that you want to install:
2727

28+
* [.NET Framework 4.8.1 web installer](https://go.microsoft.com/fwlink/?linkid=2215256)
2829
* [.NET Framework 4.8 Web installer](https://go.microsoft.com/fwlink/?LinkId=2150985)
2930
* [.NET Framework 4.7.2 web installer](https://go.microsoft.com/fwlink/?LinkId=863262)
3031
* [.NET Framework 4.6.2 web installer](https://dotnet.microsoft.com/download/dotnet-framework/net462)
@@ -94,6 +95,7 @@ You can use startup tasks to perform operations before a role starts. Installing
9495
REM ***** To install .NET 4.7.1 set the variable netfx to "NDP471" ***** https://go.microsoft.com/fwlink/?LinkId=852095
9596
REM ***** To install .NET 4.7.2 set the variable netfx to "NDP472" ***** https://go.microsoft.com/fwlink/?LinkId=863262
9697
REM ***** To install .NET 4.8 set the variable netfx to "NDP48" ***** https://dotnet.microsoft.com/download/thank-you/net48
98+
REM ***** To install .NET 4.8.1 set the variable netfx to "NDP481" ***** https://go.microsoft.com/fwlink/?linkid=2215256
9799
set netfx="NDP48"
98100

99101
REM ***** Set script start timestamp *****
@@ -109,6 +111,7 @@ You can use startup tasks to perform operations before a role starts. Installing
109111
set TEMP=%PathToNETFXInstall%
110112

111113
REM ***** Setup .NET filenames and registry keys *****
114+
if %netfx%=="NDP481" goto NDP481
112115
if %netfx%=="NDP48" goto NDP48
113116
if %netfx%=="NDP472" goto NDP472
114117
if %netfx%=="NDP471" goto NDP471
@@ -156,6 +159,11 @@ You can use startup tasks to perform operations before a role starts. Installing
156159
set netfxregkey="0x80EA8"
157160
goto logtimestamp
158161

162+
:NDP481
163+
set "netfxinstallfile=NDP481-Web.exe"
164+
set netfxregkey="0x82348"
165+
goto logtimestamp
166+
159167
:logtimestamp
160168
REM ***** Setup LogFile with timestamp *****
161169
md "%PathToNETFXInstall%\log"

0 commit comments

Comments
 (0)