Open lechgu opened 2 years ago
ควย
note: downgrading dotnet to 6.0.102 seems to be a workaround
looking to the exception in the log seems to be related to this: https://github.com/dotnet/sdk/issues/23972
There is no OmniSharp release with support for 6.0.200, however the master branch of the server already has it.
Setting "omnisharp.path":"latest"
should resolve this, but it will opt you into every prerelease from master so it is not a stable long term solution, and after the next release you will want to remove it.
@filipw thanks, it is probably easier to go back to 6.0.100 and wait a little until things stabilize.
OmniSharp 1.38.1 with support for SDK 6.0.200 was released yesterday https://github.com/OmniSharp/omnisharp-roslyn/blob/master/CHANGELOG.md#1381---2022-02-18
Next step will be for the C# extension to update to that OmniSharp version and release its own update to marketplace.
Thank you for releasing a fixed version so quickly @filipw
This problem is also present when using the linux-based docker images with the preinstalled SDK. It then also manifests as the message "No code actions available" when using Ctrl+'.'
E.g. code actions are available when using mcr.microsoft.com/dotnet/sdk:6.0.102
(most of the time, at times requires a reload of the VS Code Window). Code actions are NOT available when using mcr.microsoft.com/dotnet/sdk:6.0.200
.
This is for VS Code Extension ms-dotnettools.csharp
version 1.24.0.
As Omnisharp version 1.38.1 is now available, I'm now waiting for a new version of ms-dotnettools.csharp
extension to include the updated Omnisharp version. Luckily changing the SDK version is just a one-line change in our environment, so will be easy to try out.
Issue Description
intellisense stopped working after dotnet got upgraded to 6.0.200 on Mac OS X Monterrey (Intel CPU). worked fine on the previous version.
Steps to Reproduce
Expected Behavior
Intellisense works
Actual Behavior
Intellisense does not work
Logs
OmniSharp log
Starting OmniSharp server at 2/17/2022, 10:50:19 AM Target: /Users/lech/work/Intuiflow.Identity/Service
OmniSharp server started. Path: /Users/lech/.vscode/extensions/ms-dotnettools.csharp-1.24.0/.omnisharp/1.38.0/run PID: 9145
{ "Type": "request", "Seq": 36, "Command": "/v2/getcodeactions", "Arguments": { "FileName": "/Users/lech/work/Intuiflow.Identity/Service/App.cs", "Line": 7, "Column": 24 } }
{ "Request_seq": 36, "Command": "/v2/getcodeactions", "Running": true, "Success": false, "Message": "\"System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.\nCould not load file or assembly 'Microsoft.CodeAnalysis, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.\n at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)\n at System.Reflection.Assembly.GetTypes () [0x00000] in <36514b14425c4337b446653c547aa9c3>:0 \n at System.Reflection.Assembly+d__127.MoveNext () [0x0001e] in <36514b14425c4337b446653c547aa9c3>:0 \n at System.Linq.Enumerable+SelectManySingleSelectorIterator:0 \n at System.Collections.Immutable.ImmutableArray.ToImmutableArray[TSource] (System.Collections.Generic.IEnumerable
2[TSource,TResult].MoveNext () [0x0006f] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Linq.Enumerable+WhereSelectEnumerableIterator
2[TSource,TResult].MoveNext () [0x00059] in <14c1495deda74532849f8ec10b438611>:0 \n at System.Linq.Enumerable+WhereEnumerableIterator1[TSource].MoveNext () [0x0004e] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.LargeArrayBuilder
1[T].AddRange (System.Collections.Generic.IEnumerable1[T] items) [0x0003d] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.SparseArrayBuilder
1[T].AddRange (System.Collections.Generic.IEnumerable1[T] items) [0x00000] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.SparseArrayBuilder
1[T].ReserveOrAdd (System.Collections.Generic.IEnumerable1[T] items) [0x00017] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Linq.Enumerable+Concat2Iterator
1[TSource].ToArray () [0x00015] in <14c1495deda74532849f8ec10b438611>:0 \n at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Immutable.ImmutableArray.CreateRange[T] (System.Collections.Generic.IEnumerable
1[T] items) [0x0004d] in1[T] items) [0x0000f] in <be358f84962848a48784e4a9d001abe1>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CachingCodeFixProviderForProjects.LoadFrom (Microsoft.CodeAnalysis.Project project) [0x000d5] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CachingCodeFixProviderForProjects.GetAllCodeFixesForProject (Microsoft.CodeAnalysis.ProjectId projectId) [0x00045] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].GetSortedCodeFixProviders (Microsoft.CodeAnalysis.Document document) [0x00011] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService2[TRequest,TResponse].AppendFixesAsync (Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, System.Collections.Generic.IEnumerable
1[T] diagnostics, System.Collections.Generic.List1[T] codeActions) [0x0003e] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].CollectCodeFixesActions (Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, System.Collections.Generic.List1[T] codeActions) [0x001c1] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].GetAvailableCodeActions (OmniSharp.Models.V2.CodeActions.ICodeActionRequest request) [0x001a4] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService.Handle (OmniSharp.Models.V2.CodeActions.GetCodeActionsRequest request) [0x0006b] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Endpoint.EndpointHandler2[TRequest,TResponse].GetFirstNotEmptyResponseFromHandlers (OmniSharp.Endpoint.Exports.ExportHandler
2[TRequest,TResponse][] handlers, TRequest request) [0x00099] in <5f96298298f74346ad96eb79547a94e4>:0 \n at OmniSharp.Endpoint.EndpointHandler2[TRequest,TResponse].HandleRequestForLanguage (System.String language, TRequest request, OmniSharp.Protocol.RequestPacket packet) [0x00163] in <5f96298298f74346ad96eb79547a94e4>:0 \\n at OmniSharp.Endpoint.EndpointHandler
2[TRequest,TResponse].Process (OmniSharp.Protocol.RequestPacket packet, OmniSharp.Endpoint.LanguageModel model, Newtonsoft.Json.Linq.JToken requestObject) [0x0024b] in <5f96298298f74346ad96eb79547a94e4>:0 \n at OmniSharp.Stdio.Host.HandleRequest (System.String json, Microsoft.Extensions.Logging.ILogger logger) [0x000f3] in <25aad3e40a2c409a9df3868c7895a306>:0 \nSystem.TypeLoadException: Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.\"", "Body": null, "Seq": 100, "Type": "response" }{ "Type": "request", "Seq": 37, "Command": "/v2/getcodeactions", "Arguments": { "FileName": "/Users/lech/work/Intuiflow.Identity/Service/App.cs", "Line": 7, "Column": 24 } }
{ "Request_seq": 37, "Command": "/v2/getcodeactions", "Running": true, "Success": false, "Message": "\"System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.\nCould not load file or assembly 'Microsoft.CodeAnalysis, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.\n at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)\n at System.Reflection.Assembly.GetTypes () [0x00000] in <36514b14425c4337b446653c547aa9c3>:0 \n at System.Reflection.Assembly+d__127.MoveNext () [0x0001e] in <36514b14425c4337b446653c547aa9c3>:0 \n at System.Linq.Enumerable+SelectManySingleSelectorIterator:0 \n at System.Collections.Immutable.ImmutableArray.ToImmutableArray[TSource] (System.Collections.Generic.IEnumerable
2[TSource,TResult].MoveNext () [0x0006f] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Linq.Enumerable+WhereSelectEnumerableIterator
2[TSource,TResult].MoveNext () [0x00059] in <14c1495deda74532849f8ec10b438611>:0 \n at System.Linq.Enumerable+WhereEnumerableIterator1[TSource].MoveNext () [0x0004e] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.LargeArrayBuilder
1[T].AddRange (System.Collections.Generic.IEnumerable1[T] items) [0x0003d] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.SparseArrayBuilder
1[T].AddRange (System.Collections.Generic.IEnumerable1[T] items) [0x00000] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.SparseArrayBuilder
1[T].ReserveOrAdd (System.Collections.Generic.IEnumerable1[T] items) [0x00017] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Linq.Enumerable+Concat2Iterator
1[TSource].ToArray () [0x00015] in <14c1495deda74532849f8ec10b438611>:0 \n at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Immutable.ImmutableArray.CreateRange[T] (System.Collections.Generic.IEnumerable
1[T] items) [0x0004d] in1[T] items) [0x0000f] in <be358f84962848a48784e4a9d001abe1>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CachingCodeFixProviderForProjects.LoadFrom (Microsoft.CodeAnalysis.Project project) [0x000d5] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CachingCodeFixProviderForProjects.GetAllCodeFixesForProject (Microsoft.CodeAnalysis.ProjectId projectId) [0x00045] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].GetSortedCodeFixProviders (Microsoft.CodeAnalysis.Document document) [0x00011] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService2[TRequest,TResponse].AppendFixesAsync (Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, System.Collections.Generic.IEnumerable
1[T] diagnostics, System.Collections.Generic.List1[T] codeActions) [0x0003e] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].CollectCodeFixesActions (Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, System.Collections.Generic.List1[T] codeActions) [0x001c1] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].GetAvailableCodeActions (OmniSharp.Models.V2.CodeActions.ICodeActionRequest request) [0x001a4] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService.Handle (OmniSharp.Models.V2.CodeActions.GetCodeActionsRequest request) [0x0006b] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Endpoint.EndpointHandler2[TRequest,TResponse].GetFirstNotEmptyResponseFromHandlers (OmniSharp.Endpoint.Exports.ExportHandler
2[TRequest,TResponse][] handlers, TRequest request) [0x00099] in <5f96298298f74346ad96eb79547a94e4>:0 \n at OmniSharp.Endpoint.EndpointHandler2[TRequest,TResponse].HandleRequestForLanguage (System.String language, TRequest request, OmniSharp.Protocol.RequestPacket packet) [0x00163] in <5f96298298f74346ad96eb79547a94e4>:0 \\n at OmniSharp.Endpoint.EndpointHandler
2[TRequest,TResponse].Process (OmniSharp.Protocol.RequestPacket packet, OmniSharp.Endpoint.LanguageModel model, Newtonsoft.Json.Linq.JToken requestObject) [0x0024b] in <5f96298298f74346ad96eb79547a94e4>:0 \n at OmniSharp.Stdio.Host.HandleRequest (System.String json, Microsoft.Extensions.Logging.ILogger logger) [0x000f3] in <25aad3e40a2c409a9df3868c7895a306>:0 \nSystem.TypeLoadException: Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.\"", "Body": null, "Seq": 103, "Type": "response" }{ "Type": "request", "Seq": 43, "Command": "/v2/getcodeactions", "Arguments": { "FileName": "/Users/lech/work/Intuiflow.Identity/Service/App.cs", "Line": 7, "Column": 24 } }
{ "Request_seq": 43, "Command": "/v2/getcodeactions", "Running": true, "Success": false, "Message": "\"System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.\nCould not load file or assembly 'Microsoft.CodeAnalysis, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.\n at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)\n at System.Reflection.Assembly.GetTypes () [0x00000] in <36514b14425c4337b446653c547aa9c3>:0 \n at System.Reflection.Assembly+d__127.MoveNext () [0x0001e] in <36514b14425c4337b446653c547aa9c3>:0 \n at System.Linq.Enumerable+SelectManySingleSelectorIterator:0 \n at System.Collections.Immutable.ImmutableArray.ToImmutableArray[TSource] (System.Collections.Generic.IEnumerable
2[TSource,TResult].MoveNext () [0x0006f] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Linq.Enumerable+WhereSelectEnumerableIterator
2[TSource,TResult].MoveNext () [0x00059] in <14c1495deda74532849f8ec10b438611>:0 \n at System.Linq.Enumerable+WhereEnumerableIterator1[TSource].MoveNext () [0x0004e] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.LargeArrayBuilder
1[T].AddRange (System.Collections.Generic.IEnumerable1[T] items) [0x0003d] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.SparseArrayBuilder
1[T].AddRange (System.Collections.Generic.IEnumerable1[T] items) [0x00000] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.SparseArrayBuilder
1[T].ReserveOrAdd (System.Collections.Generic.IEnumerable1[T] items) [0x00017] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Linq.Enumerable+Concat2Iterator
1[TSource].ToArray () [0x00015] in <14c1495deda74532849f8ec10b438611>:0 \n at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Immutable.ImmutableArray.CreateRange[T] (System.Collections.Generic.IEnumerable
1[T] items) [0x0004d] in1[T] items) [0x0000f] in <be358f84962848a48784e4a9d001abe1>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CachingCodeFixProviderForProjects.LoadFrom (Microsoft.CodeAnalysis.Project project) [0x000d5] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CachingCodeFixProviderForProjects.GetAllCodeFixesForProject (Microsoft.CodeAnalysis.ProjectId projectId) [0x00045] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].GetSortedCodeFixProviders (Microsoft.CodeAnalysis.Document document) [0x00011] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService2[TRequest,TResponse].AppendFixesAsync (Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, System.Collections.Generic.IEnumerable
1[T] diagnostics, System.Collections.Generic.List1[T] codeActions) [0x0003e] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].CollectCodeFixesActions (Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, System.Collections.Generic.List1[T] codeActions) [0x001c1] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].GetAvailableCodeActions (OmniSharp.Models.V2.CodeActions.ICodeActionRequest request) [0x001a4] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService.Handle (OmniSharp.Models.V2.CodeActions.GetCodeActionsRequest request) [0x0006b] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Endpoint.EndpointHandler2[TRequest,TResponse].GetFirstNotEmptyResponseFromHandlers (OmniSharp.Endpoint.Exports.ExportHandler
2[TRequest,TResponse][] handlers, TRequest request) [0x00099] in <5f96298298f74346ad96eb79547a94e4>:0 \n at OmniSharp.Endpoint.EndpointHandler2[TRequest,TResponse].HandleRequestForLanguage (System.String language, TRequest request, OmniSharp.Protocol.RequestPacket packet) [0x00163] in <5f96298298f74346ad96eb79547a94e4>:0 \\n at OmniSharp.Endpoint.EndpointHandler
2[TRequest,TResponse].Process (OmniSharp.Protocol.RequestPacket packet, OmniSharp.Endpoint.LanguageModel model, Newtonsoft.Json.Linq.JToken requestObject) [0x0024b] in <5f96298298f74346ad96eb79547a94e4>:0 \n at OmniSharp.Stdio.Host.HandleRequest (System.String json, Microsoft.Extensions.Logging.ILogger logger) [0x000f3] in <25aad3e40a2c409a9df3868c7895a306>:0 \nSystem.TypeLoadException: Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.\"", "Body": null, "Seq": 111, "Type": "response" }{ "Type": "request", "Seq": 47, "Command": "/v2/getcodeactions", "Arguments": { "FileName": "/Users/lech/work/Intuiflow.Identity/Service/App.cs", "Line": 7, "Column": 24 } }
{ "Request_seq": 47, "Command": "/v2/getcodeactions", "Running": true, "Success": false, "Message": "\"System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.\nCould not load file or assembly 'Microsoft.CodeAnalysis, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.\n at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)\n at System.Reflection.Assembly.GetTypes () [0x00000] in <36514b14425c4337b446653c547aa9c3>:0 \n at System.Reflection.Assembly+d__127.MoveNext () [0x0001e] in <36514b14425c4337b446653c547aa9c3>:0 \n at System.Linq.Enumerable+SelectManySingleSelectorIterator:0 \n at System.Collections.Immutable.ImmutableArray.ToImmutableArray[TSource] (System.Collections.Generic.IEnumerable
2[TSource,TResult].MoveNext () [0x0006f] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Linq.Enumerable+WhereSelectEnumerableIterator
2[TSource,TResult].MoveNext () [0x00059] in <14c1495deda74532849f8ec10b438611>:0 \n at System.Linq.Enumerable+WhereEnumerableIterator1[TSource].MoveNext () [0x0004e] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.LargeArrayBuilder
1[T].AddRange (System.Collections.Generic.IEnumerable1[T] items) [0x0003d] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.SparseArrayBuilder
1[T].AddRange (System.Collections.Generic.IEnumerable1[T] items) [0x00000] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.SparseArrayBuilder
1[T].ReserveOrAdd (System.Collections.Generic.IEnumerable1[T] items) [0x00017] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Linq.Enumerable+Concat2Iterator
1[TSource].ToArray () [0x00015] in <14c1495deda74532849f8ec10b438611>:0 \n at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Immutable.ImmutableArray.CreateRange[T] (System.Collections.Generic.IEnumerable
1[T] items) [0x0004d] in1[T] items) [0x0000f] in <be358f84962848a48784e4a9d001abe1>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CachingCodeFixProviderForProjects.LoadFrom (Microsoft.CodeAnalysis.Project project) [0x000d5] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CachingCodeFixProviderForProjects.GetAllCodeFixesForProject (Microsoft.CodeAnalysis.ProjectId projectId) [0x00045] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].GetSortedCodeFixProviders (Microsoft.CodeAnalysis.Document document) [0x00011] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService2[TRequest,TResponse].AppendFixesAsync (Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, System.Collections.Generic.IEnumerable
1[T] diagnostics, System.Collections.Generic.List1[T] codeActions) [0x0003e] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].CollectCodeFixesActions (Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, System.Collections.Generic.List1[T] codeActions) [0x001c1] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].GetAvailableCodeActions (OmniSharp.Models.V2.CodeActions.ICodeActionRequest request) [0x001a4] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService.Handle (OmniSharp.Models.V2.CodeActions.GetCodeActionsRequest request) [0x0006b] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Endpoint.EndpointHandler2[TRequest,TResponse].GetFirstNotEmptyResponseFromHandlers (OmniSharp.Endpoint.Exports.ExportHandler
2[TRequest,TResponse][] handlers, TRequest request) [0x00099] in <5f96298298f74346ad96eb79547a94e4>:0 \n at OmniSharp.Endpoint.EndpointHandler2[TRequest,TResponse].HandleRequestForLanguage (System.String language, TRequest request, OmniSharp.Protocol.RequestPacket packet) [0x00163] in <5f96298298f74346ad96eb79547a94e4>:0 \\n at OmniSharp.Endpoint.EndpointHandler
2[TRequest,TResponse].Process (OmniSharp.Protocol.RequestPacket packet, OmniSharp.Endpoint.LanguageModel model, Newtonsoft.Json.Linq.JToken requestObject) [0x0024b] in <5f96298298f74346ad96eb79547a94e4>:0 \n at OmniSharp.Stdio.Host.HandleRequest (System.String json, Microsoft.Extensions.Logging.ILogger logger) [0x000f3] in <25aad3e40a2c409a9df3868c7895a306>:0 \nSystem.TypeLoadException: Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.\"", "Body": null, "Seq": 117, "Type": "response" }{ "Type": "request", "Seq": 48, "Command": "/v2/getcodeactions", "Arguments": { "FileName": "/Users/lech/work/Intuiflow.Identity/Service/App.cs", "Line": 7, "Column": 24 } }
{ "Request_seq": 48, "Command": "/v2/getcodeactions", "Running": true, "Success": false, "Message": "\"System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.\nCould not load file or assembly 'Microsoft.CodeAnalysis, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.\n at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)\n at System.Reflection.Assembly.GetTypes () [0x00000] in <36514b14425c4337b446653c547aa9c3>:0 \n at System.Reflection.Assembly+d__127.MoveNext () [0x0001e] in <36514b14425c4337b446653c547aa9c3>:0 \n at System.Linq.Enumerable+SelectManySingleSelectorIterator:0 \n at System.Collections.Immutable.ImmutableArray.ToImmutableArray[TSource] (System.Collections.Generic.IEnumerable
2[TSource,TResult].MoveNext () [0x0006f] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Linq.Enumerable+WhereSelectEnumerableIterator
2[TSource,TResult].MoveNext () [0x00059] in <14c1495deda74532849f8ec10b438611>:0 \n at System.Linq.Enumerable+WhereEnumerableIterator1[TSource].MoveNext () [0x0004e] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.LargeArrayBuilder
1[T].AddRange (System.Collections.Generic.IEnumerable1[T] items) [0x0003d] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.SparseArrayBuilder
1[T].AddRange (System.Collections.Generic.IEnumerable1[T] items) [0x00000] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.SparseArrayBuilder
1[T].ReserveOrAdd (System.Collections.Generic.IEnumerable1[T] items) [0x00017] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Linq.Enumerable+Concat2Iterator
1[TSource].ToArray () [0x00015] in <14c1495deda74532849f8ec10b438611>:0 \n at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Immutable.ImmutableArray.CreateRange[T] (System.Collections.Generic.IEnumerable
1[T] items) [0x0004d] in1[T] items) [0x0000f] in <be358f84962848a48784e4a9d001abe1>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CachingCodeFixProviderForProjects.LoadFrom (Microsoft.CodeAnalysis.Project project) [0x000d5] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CachingCodeFixProviderForProjects.GetAllCodeFixesForProject (Microsoft.CodeAnalysis.ProjectId projectId) [0x00045] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].GetSortedCodeFixProviders (Microsoft.CodeAnalysis.Document document) [0x00011] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService2[TRequest,TResponse].AppendFixesAsync (Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, System.Collections.Generic.IEnumerable
1[T] diagnostics, System.Collections.Generic.List1[T] codeActions) [0x0003e] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].CollectCodeFixesActions (Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, System.Collections.Generic.List1[T] codeActions) [0x001c1] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].GetAvailableCodeActions (OmniSharp.Models.V2.CodeActions.ICodeActionRequest request) [0x001a4] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService.Handle (OmniSharp.Models.V2.CodeActions.GetCodeActionsRequest request) [0x0006b] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Endpoint.EndpointHandler2[TRequest,TResponse].GetFirstNotEmptyResponseFromHandlers (OmniSharp.Endpoint.Exports.ExportHandler
2[TRequest,TResponse][] handlers, TRequest request) [0x00099] in <5f96298298f74346ad96eb79547a94e4>:0 \n at OmniSharp.Endpoint.EndpointHandler2[TRequest,TResponse].HandleRequestForLanguage (System.String language, TRequest request, OmniSharp.Protocol.RequestPacket packet) [0x00163] in <5f96298298f74346ad96eb79547a94e4>:0 \\n at OmniSharp.Endpoint.EndpointHandler
2[TRequest,TResponse].Process (OmniSharp.Protocol.RequestPacket packet, OmniSharp.Endpoint.LanguageModel model, Newtonsoft.Json.Linq.JToken requestObject) [0x0024b] in <5f96298298f74346ad96eb79547a94e4>:0 \n at OmniSharp.Stdio.Host.HandleRequest (System.String json, Microsoft.Extensions.Logging.ILogger logger) [0x000f3] in <25aad3e40a2c409a9df3868c7895a306>:0 \nSystem.TypeLoadException: Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.\"", "Body": null, "Seq": 120, "Type": "response" }{ "Type": "request", "Seq": 52, "Command": "/v2/getcodeactions", "Arguments": { "FileName": "/Users/lech/work/Intuiflow.Identity/Service/App.cs", "Line": 7, "Column": 14 } }
{ "Request_seq": 52, "Command": "/v2/getcodeactions", "Running": true, "Success": false, "Message": "\"System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.\nCould not load file or assembly 'Microsoft.CodeAnalysis, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.\n at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)\n at System.Reflection.Assembly.GetTypes () [0x00000] in <36514b14425c4337b446653c547aa9c3>:0 \n at System.Reflection.Assembly+d__127.MoveNext () [0x0001e] in <36514b14425c4337b446653c547aa9c3>:0 \n at System.Linq.Enumerable+SelectManySingleSelectorIterator:0 \n at System.Collections.Immutable.ImmutableArray.ToImmutableArray[TSource] (System.Collections.Generic.IEnumerable
2[TSource,TResult].MoveNext () [0x0006f] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Linq.Enumerable+WhereSelectEnumerableIterator
2[TSource,TResult].MoveNext () [0x00059] in <14c1495deda74532849f8ec10b438611>:0 \n at System.Linq.Enumerable+WhereEnumerableIterator1[TSource].MoveNext () [0x0004e] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.LargeArrayBuilder
1[T].AddRange (System.Collections.Generic.IEnumerable1[T] items) [0x0003d] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.SparseArrayBuilder
1[T].AddRange (System.Collections.Generic.IEnumerable1[T] items) [0x00000] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.SparseArrayBuilder
1[T].ReserveOrAdd (System.Collections.Generic.IEnumerable1[T] items) [0x00017] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Linq.Enumerable+Concat2Iterator
1[TSource].ToArray () [0x00015] in <14c1495deda74532849f8ec10b438611>:0 \n at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Immutable.ImmutableArray.CreateRange[T] (System.Collections.Generic.IEnumerable
1[T] items) [0x0004d] in1[T] items) [0x0000f] in <be358f84962848a48784e4a9d001abe1>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CachingCodeFixProviderForProjects.LoadFrom (Microsoft.CodeAnalysis.Project project) [0x000d5] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CachingCodeFixProviderForProjects.GetAllCodeFixesForProject (Microsoft.CodeAnalysis.ProjectId projectId) [0x00045] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].GetSortedCodeFixProviders (Microsoft.CodeAnalysis.Document document) [0x00011] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService2[TRequest,TResponse].AppendFixesAsync (Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, System.Collections.Generic.IEnumerable
1[T] diagnostics, System.Collections.Generic.List1[T] codeActions) [0x0003e] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].CollectCodeFixesActions (Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, System.Collections.Generic.List1[T] codeActions) [0x001c1] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].GetAvailableCodeActions (OmniSharp.Models.V2.CodeActions.ICodeActionRequest request) [0x001a4] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService.Handle (OmniSharp.Models.V2.CodeActions.GetCodeActionsRequest request) [0x0006b] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Endpoint.EndpointHandler2[TRequest,TResponse].GetFirstNotEmptyResponseFromHandlers (OmniSharp.Endpoint.Exports.ExportHandler
2[TRequest,TResponse][] handlers, TRequest request) [0x00099] in <5f96298298f74346ad96eb79547a94e4>:0 \n at OmniSharp.Endpoint.EndpointHandler2[TRequest,TResponse].HandleRequestForLanguage (System.String language, TRequest request, OmniSharp.Protocol.RequestPacket packet) [0x00163] in <5f96298298f74346ad96eb79547a94e4>:0 \\n at OmniSharp.Endpoint.EndpointHandler
2[TRequest,TResponse].Process (OmniSharp.Protocol.RequestPacket packet, OmniSharp.Endpoint.LanguageModel model, Newtonsoft.Json.Linq.JToken requestObject) [0x0024b] in <5f96298298f74346ad96eb79547a94e4>:0 \n at OmniSharp.Stdio.Host.HandleRequest (System.String json, Microsoft.Extensions.Logging.ILogger logger) [0x000f3] in <25aad3e40a2c409a9df3868c7895a306>:0 \nSystem.TypeLoadException: Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.\"", "Body": null, "Seq": 126, "Type": "response" }{ "Type": "request", "Seq": 55, "Command": "/v2/getcodeactions", "Arguments": { "FileName": "/Users/lech/work/Intuiflow.Identity/Service/App.cs", "Line": 7, "Column": 19 } }
{ "Request_seq": 55, "Command": "/v2/getcodeactions", "Running": true, "Success": false, "Message": "\"System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.\nCould not load file or assembly 'Microsoft.CodeAnalysis, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.\n at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)\n at System.Reflection.Assembly.GetTypes () [0x00000] in <36514b14425c4337b446653c547aa9c3>:0 \n at System.Reflection.Assembly+d__127.MoveNext () [0x0001e] in <36514b14425c4337b446653c547aa9c3>:0 \n at System.Linq.Enumerable+SelectManySingleSelectorIterator:0 \n at System.Collections.Immutable.ImmutableArray.ToImmutableArray[TSource] (System.Collections.Generic.IEnumerable
2[TSource,TResult].MoveNext () [0x0006f] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Linq.Enumerable+WhereSelectEnumerableIterator
2[TSource,TResult].MoveNext () [0x00059] in <14c1495deda74532849f8ec10b438611>:0 \n at System.Linq.Enumerable+WhereEnumerableIterator1[TSource].MoveNext () [0x0004e] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.LargeArrayBuilder
1[T].AddRange (System.Collections.Generic.IEnumerable1[T] items) [0x0003d] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.SparseArrayBuilder
1[T].AddRange (System.Collections.Generic.IEnumerable1[T] items) [0x00000] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.SparseArrayBuilder
1[T].ReserveOrAdd (System.Collections.Generic.IEnumerable1[T] items) [0x00017] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Linq.Enumerable+Concat2Iterator
1[TSource].ToArray () [0x00015] in <14c1495deda74532849f8ec10b438611>:0 \n at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Immutable.ImmutableArray.CreateRange[T] (System.Collections.Generic.IEnumerable
1[T] items) [0x0004d] in1[T] items) [0x0000f] in <be358f84962848a48784e4a9d001abe1>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CachingCodeFixProviderForProjects.LoadFrom (Microsoft.CodeAnalysis.Project project) [0x000d5] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CachingCodeFixProviderForProjects.GetAllCodeFixesForProject (Microsoft.CodeAnalysis.ProjectId projectId) [0x00045] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].GetSortedCodeFixProviders (Microsoft.CodeAnalysis.Document document) [0x00011] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService2[TRequest,TResponse].AppendFixesAsync (Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, System.Collections.Generic.IEnumerable
1[T] diagnostics, System.Collections.Generic.List1[T] codeActions) [0x0003e] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].CollectCodeFixesActions (Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, System.Collections.Generic.List1[T] codeActions) [0x001c1] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].GetAvailableCodeActions (OmniSharp.Models.V2.CodeActions.ICodeActionRequest request) [0x001a4] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService.Handle (OmniSharp.Models.V2.CodeActions.GetCodeActionsRequest request) [0x0006b] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Endpoint.EndpointHandler2[TRequest,TResponse].GetFirstNotEmptyResponseFromHandlers (OmniSharp.Endpoint.Exports.ExportHandler
2[TRequest,TResponse][] handlers, TRequest request) [0x00099] in <5f96298298f74346ad96eb79547a94e4>:0 \n at OmniSharp.Endpoint.EndpointHandler2[TRequest,TResponse].HandleRequestForLanguage (System.String language, TRequest request, OmniSharp.Protocol.RequestPacket packet) [0x00163] in <5f96298298f74346ad96eb79547a94e4>:0 \\n at OmniSharp.Endpoint.EndpointHandler
2[TRequest,TResponse].Process (OmniSharp.Protocol.RequestPacket packet, OmniSharp.Endpoint.LanguageModel model, Newtonsoft.Json.Linq.JToken requestObject) [0x0024b] in <5f96298298f74346ad96eb79547a94e4>:0 \n at OmniSharp.Stdio.Host.HandleRequest (System.String json, Microsoft.Extensions.Logging.ILogger logger) [0x000f3] in <25aad3e40a2c409a9df3868c7895a306>:0 \nSystem.TypeLoadException: Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.\"", "Body": null, "Seq": 132, "Type": "response" }{ "Type": "request", "Seq": 57, "Command": "/v2/getcodeactions", "Arguments": { "FileName": "/Users/lech/work/Intuiflow.Identity/Service/App.cs", "Line": 7, "Column": 14 } }
{ "Request_seq": 57, "Command": "/v2/getcodeactions", "Running": true, "Success": false, "Message": "\"System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.\nCould not load file or assembly 'Microsoft.CodeAnalysis, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.\n at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)\n at System.Reflection.Assembly.GetTypes () [0x00000] in <36514b14425c4337b446653c547aa9c3>:0 \n at System.Reflection.Assembly+d__127.MoveNext () [0x0001e] in <36514b14425c4337b446653c547aa9c3>:0 \n at System.Linq.Enumerable+SelectManySingleSelectorIterator:0 \n at System.Collections.Immutable.ImmutableArray.ToImmutableArray[TSource] (System.Collections.Generic.IEnumerable
2[TSource,TResult].MoveNext () [0x0006f] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Linq.Enumerable+WhereSelectEnumerableIterator
2[TSource,TResult].MoveNext () [0x00059] in <14c1495deda74532849f8ec10b438611>:0 \n at System.Linq.Enumerable+WhereEnumerableIterator1[TSource].MoveNext () [0x0004e] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.LargeArrayBuilder
1[T].AddRange (System.Collections.Generic.IEnumerable1[T] items) [0x0003d] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.SparseArrayBuilder
1[T].AddRange (System.Collections.Generic.IEnumerable1[T] items) [0x00000] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.SparseArrayBuilder
1[T].ReserveOrAdd (System.Collections.Generic.IEnumerable1[T] items) [0x00017] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Linq.Enumerable+Concat2Iterator
1[TSource].ToArray () [0x00015] in <14c1495deda74532849f8ec10b438611>:0 \n at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Immutable.ImmutableArray.CreateRange[T] (System.Collections.Generic.IEnumerable
1[T] items) [0x0004d] in1[T] items) [0x0000f] in <be358f84962848a48784e4a9d001abe1>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CachingCodeFixProviderForProjects.LoadFrom (Microsoft.CodeAnalysis.Project project) [0x000d5] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CachingCodeFixProviderForProjects.GetAllCodeFixesForProject (Microsoft.CodeAnalysis.ProjectId projectId) [0x00045] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].GetSortedCodeFixProviders (Microsoft.CodeAnalysis.Document document) [0x00011] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService2[TRequest,TResponse].AppendFixesAsync (Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, System.Collections.Generic.IEnumerable
1[T] diagnostics, System.Collections.Generic.List1[T] codeActions) [0x0003e] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].CollectCodeFixesActions (Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, System.Collections.Generic.List1[T] codeActions) [0x001c1] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].GetAvailableCodeActions (OmniSharp.Models.V2.CodeActions.ICodeActionRequest request) [0x001a4] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService.Handle (OmniSharp.Models.V2.CodeActions.GetCodeActionsRequest request) [0x0006b] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Endpoint.EndpointHandler2[TRequest,TResponse].GetFirstNotEmptyResponseFromHandlers (OmniSharp.Endpoint.Exports.ExportHandler
2[TRequest,TResponse][] handlers, TRequest request) [0x00099] in <5f96298298f74346ad96eb79547a94e4>:0 \n at OmniSharp.Endpoint.EndpointHandler2[TRequest,TResponse].HandleRequestForLanguage (System.String language, TRequest request, OmniSharp.Protocol.RequestPacket packet) [0x00163] in <5f96298298f74346ad96eb79547a94e4>:0 \\n at OmniSharp.Endpoint.EndpointHandler
2[TRequest,TResponse].Process (OmniSharp.Protocol.RequestPacket packet, OmniSharp.Endpoint.LanguageModel model, Newtonsoft.Json.Linq.JToken requestObject) [0x0024b] in <5f96298298f74346ad96eb79547a94e4>:0 \n at OmniSharp.Stdio.Host.HandleRequest (System.String json, Microsoft.Extensions.Logging.ILogger logger) [0x000f3] in <25aad3e40a2c409a9df3868c7895a306>:0 \nSystem.TypeLoadException: Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.\"", "Body": null, "Seq": 136, "Type": "response" }{ "Type": "request", "Seq": 58, "Command": "/v2/getcodeactions", "Arguments": { "FileName": "/Users/lech/work/Intuiflow.Identity/Service/App.cs", "Line": 7, "Column": 22 } }
{ "Request_seq": 58, "Command": "/v2/getcodeactions", "Running": true, "Success": false, "Message": "\"System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.\nCould not load file or assembly 'Microsoft.CodeAnalysis, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.\n at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)\n at System.Reflection.Assembly.GetTypes () [0x00000] in <36514b14425c4337b446653c547aa9c3>:0 \n at System.Reflection.Assembly+d__127.MoveNext () [0x0001e] in <36514b14425c4337b446653c547aa9c3>:0 \n at System.Linq.Enumerable+SelectManySingleSelectorIterator:0 \n at System.Collections.Immutable.ImmutableArray.ToImmutableArray[TSource] (System.Collections.Generic.IEnumerable
2[TSource,TResult].MoveNext () [0x0006f] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Linq.Enumerable+WhereSelectEnumerableIterator
2[TSource,TResult].MoveNext () [0x00059] in <14c1495deda74532849f8ec10b438611>:0 \n at System.Linq.Enumerable+WhereEnumerableIterator1[TSource].MoveNext () [0x0004e] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.LargeArrayBuilder
1[T].AddRange (System.Collections.Generic.IEnumerable1[T] items) [0x0003d] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.SparseArrayBuilder
1[T].AddRange (System.Collections.Generic.IEnumerable1[T] items) [0x00000] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.SparseArrayBuilder
1[T].ReserveOrAdd (System.Collections.Generic.IEnumerable1[T] items) [0x00017] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Linq.Enumerable+Concat2Iterator
1[TSource].ToArray () [0x00015] in <14c1495deda74532849f8ec10b438611>:0 \n at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Immutable.ImmutableArray.CreateRange[T] (System.Collections.Generic.IEnumerable
1[T] items) [0x0004d] in1[T] items) [0x0000f] in <be358f84962848a48784e4a9d001abe1>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CachingCodeFixProviderForProjects.LoadFrom (Microsoft.CodeAnalysis.Project project) [0x000d5] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CachingCodeFixProviderForProjects.GetAllCodeFixesForProject (Microsoft.CodeAnalysis.ProjectId projectId) [0x00045] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].GetSortedCodeFixProviders (Microsoft.CodeAnalysis.Document document) [0x00011] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService2[TRequest,TResponse].AppendFixesAsync (Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, System.Collections.Generic.IEnumerable
1[T] diagnostics, System.Collections.Generic.List1[T] codeActions) [0x0003e] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].CollectCodeFixesActions (Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, System.Collections.Generic.List1[T] codeActions) [0x001c1] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].GetAvailableCodeActions (OmniSharp.Models.V2.CodeActions.ICodeActionRequest request) [0x001a4] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService.Handle (OmniSharp.Models.V2.CodeActions.GetCodeActionsRequest request) [0x0006b] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Endpoint.EndpointHandler2[TRequest,TResponse].GetFirstNotEmptyResponseFromHandlers (OmniSharp.Endpoint.Exports.ExportHandler
2[TRequest,TResponse][] handlers, TRequest request) [0x00099] in <5f96298298f74346ad96eb79547a94e4>:0 \n at OmniSharp.Endpoint.EndpointHandler2[TRequest,TResponse].HandleRequestForLanguage (System.String language, TRequest request, OmniSharp.Protocol.RequestPacket packet) [0x00163] in <5f96298298f74346ad96eb79547a94e4>:0 \\n at OmniSharp.Endpoint.EndpointHandler
2[TRequest,TResponse].Process (OmniSharp.Protocol.RequestPacket packet, OmniSharp.Endpoint.LanguageModel model, Newtonsoft.Json.Linq.JToken requestObject) [0x0024b] in <5f96298298f74346ad96eb79547a94e4>:0 \n at OmniSharp.Stdio.Host.HandleRequest (System.String json, Microsoft.Extensions.Logging.ILogger logger) [0x000f3] in <25aad3e40a2c409a9df3868c7895a306>:0 \nSystem.TypeLoadException: Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.\"", "Body": null, "Seq": 139, "Type": "response" }{ "Type": "request", "Seq": 59, "Command": "/v2/getcodeactions", "Arguments": { "FileName": "/Users/lech/work/Intuiflow.Identity/Service/App.cs", "Line": 7, "Column": 22 } }
{ "Request_seq": 59, "Command": "/v2/getcodeactions", "Running": true, "Success": false, "Message": "\"System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.\nCould not load file or assembly 'Microsoft.CodeAnalysis, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.\n at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)\n at System.Reflection.Assembly.GetTypes () [0x00000] in <36514b14425c4337b446653c547aa9c3>:0 \n at System.Reflection.Assembly+d__127.MoveNext () [0x0001e] in <36514b14425c4337b446653c547aa9c3>:0 \n at System.Linq.Enumerable+SelectManySingleSelectorIterator:0 \n at System.Collections.Immutable.ImmutableArray.ToImmutableArray[TSource] (System.Collections.Generic.IEnumerable
2[TSource,TResult].MoveNext () [0x0006f] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Linq.Enumerable+WhereSelectEnumerableIterator
2[TSource,TResult].MoveNext () [0x00059] in <14c1495deda74532849f8ec10b438611>:0 \n at System.Linq.Enumerable+WhereEnumerableIterator1[TSource].MoveNext () [0x0004e] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.LargeArrayBuilder
1[T].AddRange (System.Collections.Generic.IEnumerable1[T] items) [0x0003d] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.SparseArrayBuilder
1[T].AddRange (System.Collections.Generic.IEnumerable1[T] items) [0x00000] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Generic.SparseArrayBuilder
1[T].ReserveOrAdd (System.Collections.Generic.IEnumerable1[T] items) [0x00017] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Linq.Enumerable+Concat2Iterator
1[TSource].ToArray () [0x00015] in <14c1495deda74532849f8ec10b438611>:0 \n at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] in <14c1495deda74532849f8ec10b438611>:0 \\n at System.Collections.Immutable.ImmutableArray.CreateRange[T] (System.Collections.Generic.IEnumerable
1[T] items) [0x0004d] in1[T] items) [0x0000f] in <be358f84962848a48784e4a9d001abe1>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CachingCodeFixProviderForProjects.LoadFrom (Microsoft.CodeAnalysis.Project project) [0x000d5] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CachingCodeFixProviderForProjects.GetAllCodeFixesForProject (Microsoft.CodeAnalysis.ProjectId projectId) [0x00045] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].GetSortedCodeFixProviders (Microsoft.CodeAnalysis.Document document) [0x00011] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService2[TRequest,TResponse].AppendFixesAsync (Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, System.Collections.Generic.IEnumerable
1[T] diagnostics, System.Collections.Generic.List1[T] codeActions) [0x0003e] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].CollectCodeFixesActions (Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan span, System.Collections.Generic.List1[T] codeActions) [0x001c1] in <7833e4dfb11c41969fc8bb341c494975>:0 \\n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.BaseCodeActionService
2[TRequest,TResponse].GetAvailableCodeActions (OmniSharp.Models.V2.CodeActions.ICodeActionRequest request) [0x001a4] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService.Handle (OmniSharp.Models.V2.CodeActions.GetCodeActionsRequest request) [0x0006b] in <7833e4dfb11c41969fc8bb341c494975>:0 \n at OmniSharp.Endpoint.EndpointHandler2[TRequest,TResponse].GetFirstNotEmptyResponseFromHandlers (OmniSharp.Endpoint.Exports.ExportHandler
2[TRequest,TResponse][] handlers, TRequest request) [0x00099] in <5f96298298f74346ad96eb79547a94e4>:0 \n at OmniSharp.Endpoint.EndpointHandler2[TRequest,TResponse].HandleRequestForLanguage (System.String language, TRequest request, OmniSharp.Protocol.RequestPacket packet) [0x00163] in <5f96298298f74346ad96eb79547a94e4>:0 \\n at OmniSharp.Endpoint.EndpointHandler
2[TRequest,TResponse].Process (OmniSharp.Protocol.RequestPacket packet, OmniSharp.Endpoint.LanguageModel model, Newtonsoft.Json.Linq.JToken requestObject) [0x0024b] in <5f96298298f74346ad96eb79547a94e4>:0 \n at OmniSharp.Stdio.Host.HandleRequest (System.String json, Microsoft.Extensions.Logging.ILogger logger) [0x000f3] in <25aad3e40a2c409a9df3868c7895a306>:0 \nSystem.TypeLoadException: Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.\"", "Body": null, "Seq": 142, "Type": "response" }C# log
N/A
Environment information
VSCode version: 1.64.2 C# Extension: 1.24.0
Mono Information
OmniSharp using built-in monoDotnet Information
.NET SDK (reflecting any global.json): Version: 6.0.200 Commit: 4c30de7899 Runtime Environment: OS Name: Mac OS X OS Version: 12.1 OS Platform: Darwin RID: osx.12-x64 Base Path: /usr/local/share/dotnet/sdk/6.0.200/ Host (useful for support): Version: 6.0.2 Commit: 839cdfb0ec .NET SDKs installed: 6.0.200 [/usr/local/share/dotnet/sdk] .NET runtimes installed: Microsoft.AspNetCore.App 6.0.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 6.0.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] To install additional .NET runtimes or SDKs: https://aka.ms/dotnet-downloadVisual Studio Code Extensions
|Extension|Author|Version| |---|---|---| |Angular2|johnpapa|12.0.0| |azure-account|ms-vscode|0.10.0| |cpptools|ms-vscode|1.8.4| |crates|serayuzgur|0.5.10| |csharp|ms-dotnettools|1.24.0| |fabric8-analytics|redhat|0.3.5| |gitlens|eamodio|11.7.0| |go|golang|0.31.1| |gotestexplorer|premparihar|0.1.13| |hexeditor|ms-vscode|1.9.4| |java|redhat|1.3.0| |jupyter|ms-toolsai|2022.1.1301854968| |jupyter-keymap|ms-toolsai|1.0.0| |jupyter-renderers|ms-toolsai|1.0.6| |live-server|ms-vscode|0.2.12| |LiveServer|ritwickdey|5.7.4| |markdown-preview-github-styles|bierner|1.0.1| |ng-template|Angular|13.2.3| |nugetpackagemanagergui|aliasadidev|1.1.9| |prettier-vscode|esbenp|9.2.0| |project-manager|alefragnani|12.5.0| |python|ms-python|2022.0.1814523869| |remote-containers|ms-vscode-remote|0.217.4| |remote-ssh|ms-vscode-remote|0.74.0| |remote-ssh-edit|ms-vscode-remote|0.74.0| |rest-client|humao|0.24.6| |rust|rust-lang|0.7.8| |rust-analyzer|matklad|0.2.940| |rust-pack|Swellaby|0.2.29| |scala|scala-lang|0.5.5| |spellright|ban|3.0.60| |test-adapter-converter|ms-vscode|0.1.5| |vscode-commons|redhat|0.0.6| |vscode-docker|ms-azuretools|1.19.0| |vscode-dotnet-runtime|ms-dotnettools|1.5.0| |vscode-java-debug|vscjava|0.38.0| |vscode-kubernetes-tools|ms-kubernetes-tools|1.3.6| |vscode-lldb|vadimcn|1.6.10| |vscode-mysql-client2|cweijan|4.6.0| |vscode-postgresql|ms-ossdata|0.3.0| |vscode-proto3|zxh404|0.5.5| |vscode-pylance|ms-python|2022.2.3| |vscode-sqlite|alexcvzz|0.14.0| |vscode-test-explorer|hbenl|2.21.1| |vscode-typescript-tslint-plugin|ms-vscode|1.3.3| |vscode-wasm|dtsvet|1.3.1| |vscode-xml|redhat|0.19.1| |vscode-yaml|redhat|1.4.0|;