Skip to content

Commit f1dc056

Browse files
authored
Gangams/dotnet core version update (#1110)
* dotnet version update from 3.1 to 7.0 * dotnet version update from 3.1 to 7.0 * fix pr feedback
1 parent 699944e commit f1dc056

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

build/windows/Makefile.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# 3. copy the files under installer directory to ..\..\kubernetes\windows\amalogswindows
66
# 4. Builds the livenessprobe cpp and copy the executable to the under directory ..\..\kubernetes\windows\amalogswindows
77

8-
$dotnetcoreframework = "netcoreapp3.1"
8+
$dotnetcoreframework = "net6.0"
99

1010
Write-Host("Building Certificate generator code...")
1111
$currentdir = $PSScriptRoot

build/windows/installer/certificategenerator/CertificateGenerator.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net6.0</TargetFramework>
66
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
77
</PropertyGroup>
88

scripts/build/linux/install-build-pre-requisites.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ register_microsoft_gpg_keys()
9797

9898
install_dotnet_sdk()
9999
{
100-
echo "installing dotnet sdk 3.1 ..."
100+
echo "installing dotnet sdk 6.0 ..."
101101
sudo apt-get update -y
102102
sudo apt-get install -y apt-transport-https
103103
sudo apt-get update -y
104-
sudo apt-get install -y dotnet-sdk-3.1
105-
echo "installation of dotnet sdk 3.1 completed."
104+
sudo apt-get install -y dotnet-sdk-6.0
105+
echo "installation of dotnet sdk 6.0 completed."
106106
}
107107

108108
install_gcc_for_windows_platform()
@@ -153,7 +153,7 @@ register_microsoft_gpg_keys
153153
# install cross platform gcc to build the go code for windows platform
154154
install_gcc_for_windows_platform
155155

156-
# dotnet core sdk 3.1
156+
# dotnet core sdk 6.0
157157
install_dotnet_sdk
158158

159159
# powershell core

0 commit comments

Comments
 (0)