{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/AL/issues/2223","repository_url":"https://api.github.com/repos/Microsoft/AL","labels_url":"https://api.github.com/repos/Microsoft/AL/issues/2223/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/AL/issues/2223/comments","events_url":"https://api.github.com/repos/Microsoft/AL/issues/2223/events","html_url":"https://github.com/Microsoft/AL/issues/2223","id":322330599,"number":2223,"title":"Installing CU5 crashes VS Code","user":{"login":"peikba","id":33752561,"avatar_url":"https://avatars0.githubusercontent.com/u/33752561?v=4","gravatar_id":"","url":"https://api.github.com/users/peikba","html_url":"https://github.com/peikba","followers_url":"https://api.github.com/users/peikba/followers","following_url":"https://api.github.com/users/peikba/following{/other_user}","gists_url":"https://api.github.com/users/peikba/gists{/gist_id}","starred_url":"https://api.github.com/users/peikba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peikba/subscriptions","organizations_url":"https://api.github.com/users/peikba/orgs","repos_url":"https://api.github.com/users/peikba/repos","events_url":"https://api.github.com/users/peikba/events{/privacy}","received_events_url":"https://api.github.com/users/peikba/received_events","type":"User","site_admin":false},"labels":[{"id":488757968,"url":"https://api.github.com/repos/Microsoft/AL/labels/bug","name":"bug","color":"ee0701","default":true},{"id":488757969,"url":"https://api.github.com/repos/Microsoft/AL/labels/duplicate","name":"duplicate","color":"cccccc","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-11T15:05:12Z","updated_at":"2018-05-14T06:51:21Z","closed_at":"2018-05-14T06:51:15Z","author_association":"NONE","body":"On installing a 100% standard Dynamics NAV 2018 CU5 and installing the equivalent vsix file (0.12.20065), VS Code  gives the error message shown below.\r\n\r\nInstalling the Dynamics 365 BC version (0.15.18771) everything works fine.\r\n\r\nUnhandled Exception: System.AggregateException: One or more errors occurred. ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)\r\n   --- End of inner exception stack trace ---\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.MessageProtocol.MessageWriter..ctor(Stream outputStream, IMessageSerializer messageSerializer)\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.Channel.StdioServerChannel.Initialize(IMessageSerializer messageSerializer) in C:\\Agent\\_work\\47\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\Channel\\StdioServerChannel.cs:line 27\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.Channel.ChannelBase.Start(MessageProtocolType messageProtocolType, ProtocolEndpointCompletionSource completionSource) in C:\\Agent\\_work\\47\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\Channel\\ChannelBase.cs:line 40\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.MessageProtocol.ProtocolEndpoint.<Start>d__4.MoveNext() in C:\\Agent\\_work\\47\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\MessageProtocol\\ProtocolEndpoint.cs:line 27\r\n   --- End of inner exception stack trace ---\r\n   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\r\n   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)\r\n   at Prod.EditorServices.Host.Program.Main(String[] args) in C:\\Agent\\_work\\47\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Host\\Program.cs:line 103\r\n[Info  - 4:59:26 PM] Connection to server got closed. Server will restart.\r\n\r\nUnhandled Exception: System.AggregateException: One or more errors occurred. ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)\r\n   --- End of inner exception stack trace ---\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.MessageProtocol.MessageWriter..ctor(Stream outputStream, IMessageSerializer messageSerializer)\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.Channel.StdioServerChannel.Initialize(IMessageSerializer messageSerializer) in C:\\Agent\\_work\\47\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\Channel\\StdioServerChannel.cs:line 27\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.Channel.ChannelBase.Start(MessageProtocolType messageProtocolType, ProtocolEndpointCompletionSource completionSource) in C:\\Agent\\_work\\47\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\Channel\\ChannelBase.cs:line 40\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.MessageProtocol.ProtocolEndpoint.<Start>d__4.MoveNext() in C:\\Agent\\_work\\47\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\MessageProtocol\\ProtocolEndpoint.cs:line 27\r\n   --- End of inner exception stack trace ---\r\n   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\r\n   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)\r\n   at Prod.EditorServices.Host.Program.Main(String[] args) in C:\\Agent\\_work\\47\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Host\\Program.cs:line 103\r\n[Info  - 4:59:27 PM] Connection to server got closed. Server will restart.\r\n\r\nUnhandled Exception: System.AggregateException: One or more errors occurred. ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)\r\n   --- End of inner exception stack trace ---\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.MessageProtocol.MessageWriter..ctor(Stream outputStream, IMessageSerializer messageSerializer)\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.Channel.StdioServerChannel.Initialize(IMessageSerializer messageSerializer) in C:\\Agent\\_work\\47\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\Channel\\StdioServerChannel.cs:line 27\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.Channel.ChannelBase.Start(MessageProtocolType messageProtocolType, ProtocolEndpointCompletionSource completionSource) in C:\\Agent\\_work\\47\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\Channel\\ChannelBase.cs:line 40\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.MessageProtocol.ProtocolEndpoint.<Start>d__4.MoveNext() in C:\\Agent\\_work\\47\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\MessageProtocol\\ProtocolEndpoint.cs:line 27\r\n   --- End of inner exception stack trace ---\r\n   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\r\n   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)\r\n   at Prod.EditorServices.Host.Program.Main(String[] args) in C:\\Agent\\_work\\47\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Host\\Program.cs:line 103\r\n[Info  - 4:59:27 PM] Connection to server got closed. Server will restart.\r\n\r\nUnhandled Exception: System.AggregateException: One or more errors occurred. ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)\r\n   --- End of inner exception stack trace ---\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.MessageProtocol.MessageWriter..ctor(Stream outputStream, IMessageSerializer messageSerializer)\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.Channel.StdioServerChannel.Initialize(IMessageSerializer messageSerializer) in C:\\Agent\\_work\\47\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\Channel\\StdioServerChannel.cs:line 27\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.Channel.ChannelBase.Start(MessageProtocolType messageProtocolType, ProtocolEndpointCompletionSource completionSource) in C:\\Agent\\_work\\47\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\Channel\\ChannelBase.cs:line 40\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.MessageProtocol.ProtocolEndpoint.<Start>d__4.MoveNext() in C:\\Agent\\_work\\47\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\MessageProtocol\\ProtocolEndpoint.cs:line 27\r\n   --- End of inner exception stack trace ---\r\n   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\r\n   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)\r\n   at Prod.EditorServices.Host.Program.Main(String[] args) in C:\\Agent\\_work\\47\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Host\\Program.cs:line 103\r\n[Info  - 4:59:27 PM] Connection to server got closed. Server will restart.\r\n\r\nUnhandled Exception: System.AggregateException: One or more errors occurred. ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)\r\n   --- End of inner exception stack trace ---\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.MessageProtocol.MessageWriter..ctor(Stream outputStream, IMessageSerializer messageSerializer)\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.Channel.StdioServerChannel.Initialize(IMessageSerializer messageSerializer) in C:\\Agent\\_work\\47\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\Channel\\StdioServerChannel.cs:line 27\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.Channel.ChannelBase.Start(MessageProtocolType messageProtocolType, ProtocolEndpointCompletionSource completionSource) in C:\\Agent\\_work\\47\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\Channel\\ChannelBase.cs:line 40\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.MessageProtocol.ProtocolEndpoint.<Start>d__4.MoveNext() in C:\\Agent\\_work\\47\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\MessageProtocol\\ProtocolEndpoint.cs:line 27\r\n   --- End of inner exception stack trace ---\r\n   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\r\n   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)\r\n   at Prod.EditorServices.Host.Program.Main(String[] args) in C:\\Agent\\_work\\47\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Host\\Program.cs:line 103\r\n[Error - 4:59:27 PM] Connection to server got closed. Server will not be restarted.\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/AL/issues/comments/388714199","html_url":"https://github.com/Microsoft/AL/issues/2223#issuecomment-388714199","issue_url":"https://api.github.com/repos/Microsoft/AL/issues/2223","id":388714199,"user":{"login":"DominikDitoIvosevic","id":6378638,"avatar_url":"https://avatars2.githubusercontent.com/u/6378638?v=4","gravatar_id":"","url":"https://api.github.com/users/DominikDitoIvosevic","html_url":"https://github.com/DominikDitoIvosevic","followers_url":"https://api.github.com/users/DominikDitoIvosevic/followers","following_url":"https://api.github.com/users/DominikDitoIvosevic/following{/other_user}","gists_url":"https://api.github.com/users/DominikDitoIvosevic/gists{/gist_id}","starred_url":"https://api.github.com/users/DominikDitoIvosevic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DominikDitoIvosevic/subscriptions","organizations_url":"https://api.github.com/users/DominikDitoIvosevic/orgs","repos_url":"https://api.github.com/users/DominikDitoIvosevic/repos","events_url":"https://api.github.com/users/DominikDitoIvosevic/events{/privacy}","received_events_url":"https://api.github.com/users/DominikDitoIvosevic/received_events","type":"User","site_admin":false},"created_at":"2018-05-14T06:51:21Z","updated_at":"2018-05-14T06:51:21Z","author_association":"MEMBER","body":"Closing as duplicate"}}
{"actor":{"display_login":"DominikDitoIvosevic"}}