From 6ebb132dbd0fa3683f0ee7b3657796e8ffc13877 Mon Sep 17 00:00:00 2001 From: Freddy Kristiansen Date: Tue, 26 Mar 2024 12:34:42 +0100 Subject: [PATCH] issue #3444 (#3445) Fixes #3444 Co-authored-by: freddydk --- ContainerHandling/New-NavContainer.ps1 | 2 +- ReleaseNotes.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ContainerHandling/New-NavContainer.ps1 b/ContainerHandling/New-NavContainer.ps1 index 8e5a93f8a..039da1c35 100644 --- a/ContainerHandling/New-NavContainer.ps1 +++ b/ContainerHandling/New-NavContainer.ps1 @@ -1733,7 +1733,7 @@ if (!(Get-Command "invoke-sqlcmd" -ErrorAction SilentlyContinue)) { try { Write- Write-Host "Patching container to install ASP.NET Core 1.1" Download-File -source "https://download.microsoft.com/download/6/F/B/6FB4F9D2-699B-4A40-A674-B7FF41E0E4D2/DotNetCore.1.0.7_1.1.4-WindowsHosting.exe" -destinationFile (Join-Path $myFolder "dotnetcore.exe") (' -if (Test-Path "c:\run\my\dotnetcore.exe") { Write-Host "Installing ASP.NET Core 1.1"; start-process -Wait -FilePath "c:\run\my\dotnetcore.exe" -ArgumentList /quiet; Remove-Item "c:\run\my\dotnetcore.exe" -Force } +if (Test-Path "c:\run\my\dotnetcore.exe") { Write-Host "Installing ASP.NET Core 1.1"; start-process -Wait -FilePath "c:\run\my\dotnetcore.exe" -ArgumentList /quiet } ') | Add-Content -Path "$myfolder\HelperFunctions.ps1" } diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 3ed402196..36058f4f5 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -4,6 +4,7 @@ Make parameters in Copy-AppFilesToFolder mandatory Support .zip files in folders in Copy-AppFilesToFolder Issue 3431 Run-TestsInBcContainer, Get-TestsFromBcContainer and Run-ConnectionTest doesn't work if container is using SSL Issue 3427 New-BCContainer in version 6.0.11 failed to run completely +Issue 3444 Container Creation fails at "Installing ASP.NET Core 1.1" 6.0.11 Issue 3420 New-BcImage uses hyperv even if it is disabled