Skip to content

Commit

Permalink
fix #3277 (#3279)
Browse files Browse the repository at this point in the history
fixes #3277

Co-authored-by: freddydk <freddydk@users.noreply.github.com>
  • Loading branch information
freddydk and freddydk committed Dec 21, 2023
1 parent af4e4d1 commit d24fd0f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion AppHandling/Run-AlCops.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,12 @@ function Run-AlCops {
Copy-item -Path (Get-Item -Path "c:\run\*.vsix").FullName -Destination $tempZip
Expand-Archive -Path $tempZip -DestinationPath "c:\build\vsix"
}
Add-Type -Path "C:\build\vsix\extension\bin\Microsoft.Dynamics.Nav.CodeAnalysis.dll" | Out-Null
$binPath = 'C:\build\vsix\extension\bin'
$alcPath = Join-Path $binPath 'win32'
if (-not (Test-Path $alcPath)) {
$alcPath = $binPath
}
Add-Type -Path (Join-Path $alcPath 'Microsoft.Dynamics.Nav.CodeAnalysis.dll') | Out-Null
[Microsoft.Dynamics.Nav.CodeAnalysis.ReleaseVersion]::LatestSupportedRuntimeVersions[$bcversion]
} -argumentList "$($artifactVersion.Major).$($artifactVersion.Minor)"
}
Expand Down
1 change: 1 addition & 0 deletions ReleaseNotes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Refactor NuGet feed functionality to use NuGetFeed class
Add trusted NuGet feeds to settings to allow searching for NuGet packages in all trusted feeds
Support searching for Earliest, Latest, Exact or Any NuGet package (default is Latest)
Reset startcount when using Restart-BcContainer
Issue 3277 Run-ALCops uses wrong CodeAnalysis dll path

6.0.3
Just-In-Time install dotnet 8.0.0 for Business Central version 24 or above (needed by alc.exe)
Expand Down

0 comments on commit d24fd0f

Please sign in to comment.