How to select .NET 4.5.2 as a target framework in Visual Studio

怎甘沉沦 提交于 2019-11-28 16:16:12

You need to install the Microsoft .NET Framework 4.5.2 Developer Pack

This contains the following components (emphasis added by me):

  • .NET Framework 4.5.2

  • .NET Framework 4.5.2 Multi-Targeting Pack: Contains the reference assemblies needed to build apps that target the .NET Framework 4.5.2

  • .NET Framework 4.5.2 Language Packs

  • .NET Framework 4.5.2 Multi-Targeting Pack Language Packs: Contains the IntelliSense files to display help while building apps that target the .NET Framework 4.5.2 through Visual Studio and third party IDEs.

I had the same problem. The point was that I have installed DevPack only for my language.

NDP462-DevPack-KB3151934-RUS.exe

as the result the appropriate folder here

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework

contained only one folder "ru", while the folder 4.6.1 was full of files.

In the end, installing

NDP462-DevPack-KB3151934-ENU.exe

solved the problem.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!