Reputation: 23
I don't understand why I'm getting this error after downloading the frameworks 4.7.1 and 4.7.2 developer packs VS Frameworks
It even gives me the option to start a new project with these frameworks, so I do not understand??
Error
Frameworks
Version
Upvotes: 2
Views: 6039
Reputation: 3001
The error says you are targeting version 4.7. Your other screen captures show that you have versions 4.7.1 and 4.7.2 installed. Try changing your version 4.7 reference to version 4.7.1 or 4.7.2.
This is normally done with the dropdown show in your Frameworks link. If that isn't working, you can manually check the project file. Right-click the project in Solution Explorer and choose Unload Project
. Right-click the project again and choose Edit myproject.csproj
. Near the top, you should see a line like this:
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
If that just says 4.7, then update it. Save and close the .csproj file. Right-click the project again, and choose Reload Project
Upvotes: 2