The. NET Framework 4.6.2 is not found in visual Studio 2017

Source: Internet
Author: User

Original https://blogs.msdn.microsoft.com/benjaminperkins/2017/03/23/net-framwork-4-6-2-not-in-visual-studio-2017/

can't find the. NET Framework 4.6.2 in Visual Studio 2017? without it, you can't get all the cool new C # features?

For example, when you create a new project, you may see only the. NET framework version as shown in 4.6.1,1.

Figure 1,visual where 4.6.2 is in Studio 2017

This can be easily resolved by installing the. NET Framework 4.6.2 Development Package from here. https://www.microsoft.com/net/targeting

once installed, you will see the desired version and you can use all of these new c#7 features to rock! after installing the. NET Framework 4.6.2 Developer Pack, see Figure 2.

Figure 2,visual the 4.6.2 version in Studio 2017, download and install 4.6.2

I'm sure this will be included in an upcoming update, until, just manually install it.

When I use the new c#7 tuple feature, I also get "predefined type" System.valuetuple ' 2 ' Undefined or import ', as shown in 3.

Figure 3,c#7 Tuple, system.valuetuple not defined or imported

I fixed this problem by manually installing the System.valuetuple NuGet package, as shown in 4.

Figure 4,c#7 Tuple, system.valuetuple not defined or imported

The. NET Framework 4.6.2 is not found in visual Studio 2017

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.