Skip to content

Commit 836bb09

Browse files
Nuno Silvapintonunes
andauthored
Updated .NET Core to 3.1.14
* R11PIT-160 - Upgrade .Net Core 3.1 Platform Prerequisites Change value of MinDotNetCoreVersion and pointer to dotnet hosting bundle installer * R11PIT-160 - Fix failing tests * Updated CHANGELOG and raised module version Co-authored-by: Pedro Nunes <37883272+pintonunes@users.noreply.github.com>
1 parent 858f02a commit 836bb09

6 files changed

Lines changed: 11 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Outsystems.SetupTools Release History
22

3+
## 3.12.0.0
4+
5+
- Updated .NET Core to 3.1.14
6+
37
## 3.11.1.0
48

59
- Fix Set-OSServerConfig and Get-OSServerConfig bug introduced in 3.11.0.0 version

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 3.11.1.{build}
1+
version: 3.12.0.{build}
22

33
only_commits:
44
files:

src/Outsystems.SetupTools/Lib/Constants.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ $OS11ReqsMinOSVersion = "10.0.14393"
3939
[System.Diagnostics.CodeAnalysis.SuppressMessage('PSUseDeclaredVarsMoreThanAssigments', '')]
4040
$OSReqsMinOSProductType = 2
4141
[System.Diagnostics.CodeAnalysis.SuppressMessage('PSUseDeclaredVarsMoreThanAssigments', '')]
42-
$OS11ReqsMinDotNetCoreVersion = "2.1.11"
42+
$OS11ReqsMinDotNetCoreVersion = "3.1.14"
4343

4444
# Microsoft Build Tools 2015 MSI Product Codes
4545

@@ -91,7 +91,7 @@ $OSRepoURL = "https://ossetuptools.blob.core.windows.net/sources"
9191
[System.Diagnostics.CodeAnalysis.SuppressMessage('PSUseDeclaredVarsMoreThanAssigments', '')]
9292
$OSRepoURLBuildTools = 'https://download.microsoft.com/download/E/E/D/EEDF18A8-4AED-4CE0-BEBE-70A83094FC5A/BuildTools_Full.exe'
9393
[System.Diagnostics.CodeAnalysis.SuppressMessage('PSUseDeclaredVarsMoreThanAssigments', '')]
94-
$OSRepoURLDotNETCore = 'https://download.visualstudio.microsoft.com/download/pr/eebd54bc-c3a2-4580-bb29-b35c1c5ffa92/22ffe5649861167d3d5728d3cb4b10a1/dotnet-hosting-2.1.12-win.exe'
94+
$OSRepoURLDotNETCore = 'https://download.visualstudio.microsoft.com/download/pr/bdc70151-74f7-427c-a368-716d5f1840c5/6186889f6c784bae224eb15fb94c45fe/dotnet-hosting-3.1.14-win.exe'
9595

9696
# .NET related
9797
[System.Diagnostics.CodeAnalysis.SuppressMessage('PSUseDeclaredVarsMoreThanAssigments', '')]

src/Outsystems.SetupTools/OutSystems.SetupTools.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
RootModule = 'OutSystems.SetupTools.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '3.11.1.0'
15+
ModuleVersion = '3.12.0.0'
1616

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()

test/unit/Install-OSServerPreReqs.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ InModuleScope -ModuleName OutSystems.SetupTools {
115115

116116
Mock GetMSBuildToolsInstallInfo { return @{ 'HasMSBuild2015' = $True; 'HasMSBuild2017' = $False; 'LatestVersionInstalled' = 'MS Build Tools 2015'; 'RebootNeeded' = $False } }
117117
Mock GetDotNet4Version { return 461808 }
118-
Mock GetWindowsServerHostingVersion { return '2.1.12' }
118+
Mock GetWindowsServerHostingVersion { return '3.1.14' }
119119

120120
$result = Install-OSServerPreReqs -MajorVersion '11' -ErrorVariable err -ErrorAction SilentlyContinue
121121

@@ -165,7 +165,7 @@ InModuleScope -ModuleName OutSystems.SetupTools {
165165

166166
Mock GetMSBuildToolsInstallInfo { return @{ 'HasMSBuild2015' = $True; 'HasMSBuild2017' = $False; 'LatestVersionInstalled' = 'MS Build Tools 2015'; 'RebootNeeded' = $False } }
167167
Mock GetDotNet4Version { return 461808 }
168-
Mock GetWindowsServerHostingVersion { return '2.1.12' }
168+
Mock GetWindowsServerHostingVersion { return '3.1.14' }
169169

170170
$result = Install-OSServerPreReqs -MajorVersion '12' -ErrorVariable err -ErrorAction SilentlyContinue
171171

test/unit/Lib.Constants.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Describe 'Lib Constants Tests' {
5151
Context 'Check .NETCore constants' {
5252

5353
$SavePath = "$env:TEMP\dotnetcore.exe"
54-
$FileHash = 'AC74CADB690D3A5A175CEDD0EF02A11ABE41A292F9C9055B28522E3EB7B02726'
54+
$FileHash = '187179215D0C9DE82F6C6F005E08AC517E34E9689959964053B0F60FEDFD8302'
5555

5656
It 'Should be downloadable and have the right file hash' {
5757
(New-Object System.Net.WebClient).DownloadFile($OSRepoURLDotNETCore, $SavePath)

0 commit comments

Comments
 (0)