Reputation: 1241
ASP.net project build and run successfully, but all the code shows errors and its not allowing to access any library. Any Ideas Please?
Upvotes: 1
Views: 70
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