Closed fvet closed 4 years ago
Had to reboot the machine, so maybe a conflicting update / kb got installed?
Uninstalled KB4486153 but now I get the original error again...
*** Start ALC.EXE / Compile AL Extension
& alc.exe /packagecachepath:"C:\DockerInstallation\Agent\_work\4\s\App\.ALOPSCache" /project:"C:\DockerInstallation\Agent\_work\4\s\App" /out:"C:\DockerInstallation\Agent\_work\4\a\Navitrans_Core_16.3.0.4923_OnPrem_16.3_w1.app" /fullpaths /assemblyprobingpaths:C:\Windows\assembly,C:\bcartifacts.cache\onprem\16.3.14085.14238\platform\Test Assemblies\Mock Assemblies,C:\bcartifacts.cache\onprem\16.3.14085.14238\platform\LegacyDlls\program files\Microsoft Dynamics NAV\160\RoleTailored Client\Add-ins,C:\bcartifacts.cache\onprem\16.3.14085.14238\platform\ServiceTier\program files\Microsoft Dynamics NAV\160\Service\Add-ins /analyzer:"C:\bcartifacts.cache\onprem\16.3.14085.14238\platform\ModernDev\program files\Microsoft Dynamics NAV\160\AL Development Environment\ALLanguage\extension\bin\Analyzers\Microsoft.Dynamics.Nav.CodeCop.dll","C:\bcartifacts.cache\onprem\16.3.14085.14238\platform\ModernDev\program files\Microsoft Dynamics NAV\160\AL Development Environment\ALLanguage\extension\bin\Analyzers\Microsoft.Dynamics.Nav.UICop.dll","C:\bcartifacts.cache\onprem\16.3.14085.14238\platform\ModernDev\program files\Microsoft Dynamics NAV\160\AL Development Environment\ALLanguage\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll" /ruleset:"C:\DockerInstallation\Agent\_work\4\s\App\.vscode\nvt.ruleset.json"
*** AL Compiler Exit Code: -2146232576
##[error]Dotnet Framework probably missing. Please install latest Dotnet framework.
##[error]Executing ALC.EXE failed with code [-2146232576]
Downloaded the runtime, instead of the developer pack ... Retrying ... Fixed.
Describe the bug While testing ALOpsAppCompiler@2, I got this warning
Dotnet Framework probably missing. Please install latest Dotnet framework.
So I have installed .NET framework 4.8 on the buildserver, and now I'm getting
##[error]Cannot find an overload for "GetObjectsForNativeVariants" and the argument count: "1".
the used yaml
the output