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