Search code examples
.netvisual-studioasp.net-coreasp.net-core-3.1fluentvalidation

.net core build errors after Visual Studio update


I have updated Visual Studio to 16.10.1 version, and my once fully functioning project is now showing build errors, mainly relating to fluentValidation and JwtBearer.

Any advice how to resolve this?

enter image description here


Solution

  • You can try the following methods:

    1. Restart Visual Studio 2019.

    2. Clan the project. Right click the Project, choose the "Clean" option, then click the "Build" option.

    3. Clear the Nuget Package cache.

      enter image description here

    4. Reinstall the related package.