Visual Studio “Target framework” missing

柔情痞子 提交于 2019-12-07 06:13:09

问题


I am trying to compile my .NET Standard class library project with .NET Framework 4.5.2. However, as you can see in my screenshot, version 4.5.2 is not shown in the offered list of target frameworks:

Furthermore, when I click Install other frameworks..., I am still not given the option of choosing 4.5.2.

I am using Visual Studio Community Edition.


回答1:


You created the wrong project type. You created a .Net Standard Class Library

but you need to create a normal Class Library under Windows Desktop in the new project template




回答2:


Find this in your apps and features menu and try to uninstall. Then install it back and take a look what you got.



来源:https://stackoverflow.com/questions/50986565/visual-studio-target-framework-missing

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