Skip to content

Commit a0852bb

Browse files
committed
Small updates
1 parent a63c2c0 commit a0852bb

File tree

5 files changed

+21
-10
lines changed

5 files changed

+21
-10
lines changed

PSScripts/NAV Docker/LocalDocker2/SetupBCSpecific.ps1

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
. (Join-Path $PSScriptRoot '.\_Settings.ps1')
22

33
$artifactUrl = Get-BCArtifactUrl `
4-
-country de `
54
-type Sandbox `
6-
-version 16.5
5+
-version 19.3
76

87

98
$ContainerName = 'bcspecific'
10-
$ImageName = $ContainerName
119

1210
# $featureKeys = @{
1311
# ActionBarDialogEarlyOverflow = "None"
@@ -19,24 +17,32 @@ $ImageName = $ContainerName
1917

2018
$includeTestToolkit = $true
2119
$includeTestLibrariesOnly = $true
22-
$enableSymbolLoading = $false
20+
$includeTestFrameworkOnly = $false
21+
$includePerformanceToolkit = $false
22+
$forceRebuild = $true
2323

2424
$StartMs = Get-date
2525

2626
New-BcContainer `
2727
-accept_eula `
2828
-containerName $ContainerName `
2929
-artifactUrl $artifactUrl `
30-
-imageName $imageName `
3130
-Credential $ContainerCredential `
3231
-auth "UserPassword" `
3332
-updateHosts `
3433
-alwaysPull `
3534
-includeTestToolkit:$includeTestToolkit `
35+
-includeTestFrameworkOnly:$includeTestFrameworkOnly `
3636
-includeTestLibrariesOnly:$includeTestLibrariesOnly `
37+
-includePerformanceToolkit:$includePerformanceToolkit `
3738
-licenseFile $SecretSettings.containerLicenseFile `
38-
-featureKeys $featureKeys `
39-
-enableSymbolLoading:$enableSymbolLoading
39+
-enableTaskScheduler `
40+
-forceRebuild:$forceRebuild `
41+
-assignPremiumPlan `
42+
-isolation hyperv `
43+
-multitenant:$false `
44+
# -myScripts @("https://raw.githubusercontent.com/tfenster/nav-docker-samples/swaggerui/AdditionalSetup.ps1")
45+
# -imageName $imageName `
4046

4147

4248
$EndMs = Get-date

PSScripts/NAV Extensions v2/MultiRootWorkspaces/Apps_CompileAll.ps1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ Remove-Item $SymbolFolderForCompile -Force -Recurse
3333
New-Item -Path $SymbolFolderForCompile -ItemType Directory -Force
3434

3535
$AllAppFiles = Get-ChildItem $WorkSpace -recurse -filter '*.app'
36-
$AllAppFiles | Copy-Item -Destination $SymbolFolderForCompile -Force
36+
$AllAppFiles | % {
37+
if (-not($_.FullName -like "*.appSourceCopPackages*")){
38+
$_ | Copy-Item -Destination $SymbolFolderForCompile -Force
39+
}
40+
}
3741

3842

3943
# compile

PSScripts/NAV Extensions v2/MultiRootWorkspaces/Apps_UpdateTranslationFiles.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ foreach ($Translationsfile in $Translationsfiles) {
1313
Move-Item -Path $Translationsfile.FullName -Destination $target.Directory -Force
1414
}
1515
else {
16-
Write-Error 'fout'
16+
Write-Error "fout $target"
1717
}
1818
}

PSScripts/NAV Extensions v2/MultiRootWorkspaces/_Settings.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$Workspace = "C:\_Source\iFacto\DistriApps\"
2-
$BaseFolder = join-path $workspace 'LICENSING\App'
2+
$BaseFolder = join-path $workspace 'BASE\App'
33
$SymbolFolder = '.alpackages'
44

55
$AppJsons = Get-ChildItem $Workspace -Recurse 'app.json'

PSScripts/NAV Extensions v2/UpdateMSDyn365bc.Code.History.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Set-location "C:\_Source\Microsoft\MSDyn365BC.Code.History"
2+
Set-location "C:\_Source\MSDyn365BC.Code.History"
23

34
& git reset --hard "@{u}"
45
& git clean -df

0 commit comments

Comments
 (0)