Amjad S.
Amjad S.

Reputation: 1241

Visual Studio Libraries issue

ASP.net project build and run successfully, but all the code shows errors and its not allowing to access any library. Any Ideas Please?

image description

Upvotes: 1

Views: 70

Answers (1)

Amjad S.
Amjad S.

Reputation: 1241

The issue is due to installed nuget package libraries that targets different version of the .net framework of the project.

To solve the issue is check the target framework for each libraries then uninstall it and reinstall.

In my case forcing all libraries to uninstall and reinstall using the command Update-Package -reinstall Didn’t work. I had to uninstall each one by one.

Upvotes: 1

Related Questions