Chris
Chris

Reputation: 845

Visual Studio 2019: Intellisense does not recognize assemblies as referenced

I am encountering an annoying error. We have a solution that roughly consists of about 50 separate projects all being built and referenced to main project as dlls. In Visual Studio 2017 all is fine, no Intellisense errors, project builds and no errors are encountered.

Visual Studio 2019 displays missing assembly references eventhough I can successfully build and run the project:

enter image description here

What I have tried to overcome the error:

I had no success with all of those steps. Does anyone have an idea on what else I could try?

Upvotes: 2

Views: 2243

Answers (1)

Chris
Chris

Reputation: 845

I seem to have found a solution for my problem. This link and Andrei Romans answer helped. Basically it says:

Go to Tools -> Options -> Projects and Solutions -> General -> Uncheck "Allow parallel project initialization"

Then close the solution, restart it and finally rebuild the project. That worked for me - no more errors :-)

EDIT:

When branching and checking out the error persisted. What I did then is to check the usings that wheren´t recognized and un- and reloading the corresponding project. Currently my issues are resolved by this step.

Upvotes: 6

Related Questions