简体   繁体   中英

Project Target Framework Not Installed 4.7.1 and 4.7.2

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

在此处输入图片说明

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM