AL icon indicating copy to clipboard operation
AL copied to clipboard

Get-NAVAppRuntimePackage Errors with assemblyprobingpaths for extension with .NET interop

Open Nyryus opened this issue 7 years ago • 1 comments

Hi AL team, we are facing the same bug of the issue https://github.com/Microsoft/AL/issues/4184.

Building the runtime package of an extension this error occurs:

3fdae42c-7b87-499c-a20c-2c1fc4da4900\Source\DotNet\dotnet.al(3,14): error AL0451: An assembly named 'Eos.Lib.EOSWrapper, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null' could not be found in the assembly probing paths ''
3fdae42c-7b87-499c-a20c-2c1fc4da4900\Source\Codeunit\Codeunit 18122131 EOS Processor.al(44,16): error AL0185: DotNet 'EOSWrapper' is missing

But if we install the package on the same instance we tried the build process it runs fine.

Version: Dynamics NAV 14.0.29530.0 RTM

Thank you in advance for your support.

Nyryus avatar Apr 12 '19 17:04 Nyryus

I'm closing the issue because we found the problem that caused the error.

During the build process, we forgot to pass to ALC the parameter "assemblyprobingpaths", that caused the build to fail.

Nyryus avatar Apr 19 '19 15:04 Nyryus