Having an issue with our solution with BC22 specifically .net lib "System.Collections.Generic.Dictionary`2"
Based on the information provided in the article https://demiliani.com/2023/03/21/dynamics-365-business-central-and-net-6/
, it has come to our attention that Business Central version 22 (BC22) brings about significant changes related to the .NET framework. Consequently, we made adjustments on our end by updating the "al.assemblyProbingPaths" to accommodate .NET6.
However, we encountered an issue during compilation that is consistent with the problem we faced during the compiling process. The error message and details are shown in the following image:
"message": "The call is ambiguous between the method 'Dictionary(DotNet \"System.Collections.Generic.IDictionary<System.Object, System.Object>\")' defined in DotNet 'System.Collections.Generic.Dictionary<System.Object, System.Object>' by the extension '123' and the method 'Dictionary(DotNet \"System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.Object, System.Object>>\")' defined in DotNet 'System.Collections.Generic.Dictionary<System.Object, System.Object>' by the extension '123'
Does anyone encounter such or similar issues? How possible to avoid the ambiguous call?
Please advise on this matter.