Description
Hello,
I was trying to use the extension with VS 2022, latest version 17.9.1, but I got this error:
Cannot evaluate expression since the function evaluation requires all threads to run.
Then I checked the logs in the Output window and found this:
System.MissingMethodException thrown when loading the VisualizerAssemblyLoadContext. Message: Cannot dynamically create an instance of type 'Microsoft.VisualStudio.NetCoreAssemblyResolution.VisualizerAssemblyLoadContext'. Reason: No parameterless constructor defined.
My IQueryable variable is something not too fancy, I'm working in a private code base so I can't post the actual tables, but it resembles something like this:
var postsQuery = dbContext.Posts
.Where(x => x.DeletedDate == null && x.Blog.DeletedDate == null)
.Where(x => x.Title == title && x.Blog.Name == blogName);
var posts = await postsQuery.ToListAsync();
The error happens when trying to see the query plan for the postsQuery
variable.
My application is based on EF Core 8, .NET 8, Windows 11 Pro 23H2
What could be wrong?