al-code-outline
al-code-outline copied to clipboard
Code Cleanup: some actions failed []
Hi, since yesterday after my last Windows 11 update, these cleanup actions are giving an error:
Actions failed:
- "AddMissingParentheses"
- "ConvertObjectIdsToNames"
- "FixIdentifiersCase"
Version: v12.0.59
One or more of actions failed: Add Parentheses:
error - Method not found:
'Microsoft.Dynamics.Nav.CodeAnalysis.Compilation Microsoft.Dynamics.Nav.CodeAnalysis.Compilation.Create(System.String, System.String, System.Version, System.Nullable`1<System.Guid>, System.Collections.Generic.IEnumerable`1<Microsoft.Dynamics.Nav.CodeAnalysis.SymbolReferenceSpecification>, System.Collections.Generic.IEnumerable`1<Microsoft.Dynamics.Nav.CodeAnalysis.Syntax.SyntaxTree>, Microsoft.Dynamics.Nav.CodeAnalysis.CompilationOptions, Microsoft.Dynamics.Nav.CodeAnalysis.IFileSystem, Microsoft.Dynamics.Nav.CodeAnalysis.DotNet.IDotNetResolverFactory, Microsoft.Dynamics.Nav.CodeAnalysis.IReferenceManager, Boolean)'.,
One or more of actions failed: Convert Object Ids to Names:
error - Method not found:
'Microsoft.Dynamics.Nav.CodeAnalysis.Compilation Microsoft.Dynamics.Nav.CodeAnalysis.Compilation.Create(System.String, System.String, System.Version, System.Nullable`1<System.Guid>, System.Collections.Generic.IEnumerable`1<Microsoft.Dynamics.Nav.CodeAnalysis.SymbolReferenceSpecification>, System.Collections.Generic.IEnumerable`1<Microsoft.Dynamics.Nav.CodeAnalysis.Syntax.SyntaxTree>, Microsoft.Dynamics.Nav.CodeAnalysis.CompilationOptions, Microsoft.Dynamics.Nav.CodeAnalysis.IFileSystem, Microsoft.Dynamics.Nav.CodeAnalysis.DotNet.IDotNetResolverFactory, Microsoft.Dynamics.Nav.CodeAnalysis.IReferenceManager, Boolean)'.,
One or more of actions failed: Fix Identifiers Case:
error - Method not found:
'Microsoft.Dynamics.Nav.CodeAnalysis.Compilation Microsoft.Dynamics.Nav.CodeAnalysis.Compilation.Create(System.String, System.String, System.Version, System.Nullable`1<System.Guid>, System.Collections.Generic.IEnumerable`1<Microsoft.Dynamics.Nav.CodeAnalysis.SymbolReferenceSpecification>, System.Collections.Generic.IEnumerable`1<Microsoft.Dynamics.Nav.CodeAnalysis.Syntax.SyntaxTree>, Microsoft.Dynamics.Nav.CodeAnalysis.CompilationOptions, Microsoft.Dynamics.Nav.CodeAnalysis.IFileSystem, Microsoft.Dynamics.Nav.CodeAnalysis.DotNet.IDotNetResolverFactory, Microsoft.Dynamics.Nav.CodeAnalysis.IReferenceManager, Boolean)'.,
I hope they can be resolved soon because they are very useful.
The same problem occurs in the action: "RemoveEditorWithStatements"
This error started after updating the "AL Language extension for Microsoft Dynamics 365 Business Central" to the latest version.
With version 12.6.936426 the actions work properly.
Thanks in advance.
Thank you for reporting the problem. I've released new version of the extension that works with AL Compiler V13.