AL icon indicating copy to clipboard operation
AL copied to clipboard

Processing of message 'al/createPackage' failed with error

Open Twija opened this issue 8 years ago • 1 comments

Describe the bug

[Error - 11:24:25 AM] Please report this issue to https://github.com/microsoft/al/issues including information on how to reproduce it, if possible. Processing of message 'al/createPackage' failed with error: 'Could not load type 'System.ValueTuple2' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.' Details: System.TypeLoadException: Could not load type 'System.ValueTuple2' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. at Microsoft.Dynamics.Nav.CodeAnalysis.Workspaces.Solution.CompilationTracker.BuildCompilationAsync(Solution solution, CancellationToken cancellationToken) at Microsoft.Dynamics.Nav.CodeAnalysis.Workspaces.Solution.CompilationTracker.d__22.MoveNext() in C:\a\459\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis.Workspaces\Workspace\Solution\Solution.CompilationTracker.cs:line 422 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.Extensions.CreatePackageRequestHandler.d__4.MoveNext() in C:\a\459\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\LanguageServer\Extensions\CreatePackageRequestHandler.cs:line 33 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Dynamics.Nav.EditorServices.Protocol.MessageProtocol.RequestHandlerBase`1.d__10.MoveNext() in C:\a\459\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\MessageProtocol\RequestHandlerBase.cs:line 45 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Dynamics.Nav.EditorServices.Protocol.RequestRegistry.d__6.MoveNext() in C:\a\459\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\Endpoints\RequestRegistry.cs:line 59

To Reproduce Steps and/or AL code to reproduce the behavior:

  1. create container.
  2. download symbol.
  3. Create Package.

Expected behavior Package is created.

Screenshots If applicable, add screenshots to help explain your problem.

Versions:

  • AL Langauge: 2.0.48254
  • Business Central: W1 13.0 (25242)

Twija avatar Oct 30 '18 02:10 Twija

Hi @Twija, which version of .NET are you using? You need to have .NET 4.7 or hight in order to use the AL extension. See #2431.

qutreson avatar Oct 30 '18 13:10 qutreson