If your problem is the same as here:
The project required updating Visual Studio
then you can try and see if this solution works:
[Reason] is the version and profile mismatch of the target structure in the .csproj file. Despite the fact that the target structure is correct in the project properties, they were not saved correctly for any reason. Thus, when he tried to install the utility library from nuGet, he left my project in the state you specified.
The decision was to go through this site:
Framework Profiles in .NET
and find the correct combination, then manually edit the .csproj file to configure <TargetFrameworkProfile> and <TargetFrameworkVersion> .
source share