Skip to content

Commit

Permalink
Merge pull request #437 from Microsoft/dev
Browse files Browse the repository at this point in the history
0.6.0.12
  • Loading branch information
freddydk committed Apr 25, 2019
2 parents a00932b + 3299a8f commit 4f00ddd
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
12 changes: 12 additions & 0 deletions ContainerHandling/New-NavContainer.ps1
Expand Up @@ -664,6 +664,18 @@ if ($restartingInstance -eq $false) {
') | Add-Content -Path "$myfolder\AdditionalSetup.ps1"
}

if ([System.Version]$genericTag -le [System.Version]"0.0.9.5") {
('
Write-Host "Registering event sources"
"MicrosoftDynamicsNAVClientWebClient","MicrosoftDynamicsNAVClientClientService" | % {
if (-not [System.Diagnostics.EventLog]::SourceExists($_)) {
$frameworkDir =  (Get-Item "HKLM:\SOFTWARE\Microsoft\.NETFramework").GetValue("InstallRoot")
New-EventLog -LogName Application -Source $_ -MessageResourceFile (get-item (Join-Path $frameworkDir "*\EventLogMessages.dll")).FullName
}
}
') | Add-Content -Path "$myfolder\AdditionalSetup.ps1"
}

if ($assignPremiumPlan) {
if (!(Test-Path -Path "$myfolder\SetupNavUsers.ps1")) {
('# Invoke default behavior
Expand Down
9 changes: 6 additions & 3 deletions NavContainerHelper.psd1
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Freddy Kristiansen
#
# Generated on: 24-04-2019
# Generated on: 25-04-2019
#

@{
Expand All @@ -12,7 +12,7 @@
RootModule = 'NavContainerHelper.psm1'

# Version number of this module.
ModuleVersion = '0.6.0.11'
ModuleVersion = '0.6.0.12'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down Expand Up @@ -159,7 +159,10 @@ PrivateData = @{
# IconUri = ''

# ReleaseNotes of this module
ReleaseNotes = '0.6.0.11
ReleaseNotes = '0.6.0.12
Fix: Event Sources is missing for WebClient in Nav 2018 and Business Central Containers (prior to generic tag 0.0.9.6), causing the WebClient to crash if an entry is added to the event log.
0.6.0.11
Regression: Compile-AppInNavContainer should not add defaulting for AssemblyProbingPaths for versions prior to 13.x
0.6.0.10
Expand Down
3 changes: 3 additions & 0 deletions ReleaseNotes.txt
@@ -1,3 +1,6 @@
0.6.0.12
Fix: Event Sources is missing for WebClient in Nav 2018 and Business Central Containers (prior to generic tag 0.0.9.6), causing the WebClient to crash if an entry is added to the event log.

0.6.0.11
Regression: Compile-AppInNavContainer should not add defaulting for AssemblyProbingPaths for versions prior to 13.x

Expand Down

0 comments on commit 4f00ddd

Please sign in to comment.