What causes error "Can't resolve types until ITypeIdentityResolutionService has started processing enqueued assemblies."

Michael Heider - SKIDATA 0 Reputation points
2024-02-29T13:20:35.05+00:00

What causes error "Can't resolve types until ITypeIdentityResolutionService has started processing enqueued assemblies."

I am using VS2022 version 17.8.0. I have async loading of solution enabled.

I do not use a special winforms designer, it is the designer that comes with the installation of VS2022.

Here is the call stack of the error: Microsoft.DotNet.DesignTools.Client.CodeDom.CodeDomManager.d__11.MoveNext()--- End of stack trace from previous location where exception was thrown ---at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)at Microsoft.DotNet.DesignTools.Client.CodeDom.CodeDomManager.d__10.MoveNext()--- End of stack trace from previous location where exception was thrown ---at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)at Microsoft.DotNet.DesignTools.Client.Loader.VsDesignerLoader.d__59.MoveNext()--- End of stack trace from previous location where exception was thrown ---at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)at Microsoft.DotNet.DesignTools.Client.Loader.VsDesignerLoader.<>c__DisplayClass57_0.<b__1>d.MoveNext()|Instances of this error (1)

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,449 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,411 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Taylor 58,451 Reputation points
    2024-02-29T15:28:12.3733333+00:00

    You really haven't provided us any context as to what you're trying to do such that this error occurs. Are you trying to open a solution in VS, compile your code, run your app, what?

    Just off the top of my head it looks like a VS issue opening the designer. In that case try closing the designer and reopening it. If this is a VS issue then please also confirm the version of VS you're using, What designer (if any) you're trying to load, and whether you have the async solution load option set (in options).


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.