[英]How to add dot net version 4.0 in target framework of visual studio 2010?
In my visual studio 2010, target framework only include (2.0, 3.0 and 3.5). 在我的Visual Studio 2010中,目标框架仅包括(2.0、3.0和3.5)。
Does not include for 4.0. 不包括用于4.0。
So, may I know how can I add dot net 4.0 to show in target framework. 因此,我可能知道如何添加点网4.0以在目标框架中显示。
I already install dot net version 4 in my pc. 我已经在我的PC中安装了点网版本4。 But doesn't show in target framework. 但未在目标框架中显示。
Please advice me. 请给我建议。
Visual studio checks this folder for .net assembly references Visual Studio将检查此文件夹中的.net程序集引用
C:\Program Files\Reference Assemblies\Microsoft\Framework\xxx
If that folder is missing 4.0 for you, installing a new version of visual studio may create that folder for you. 如果该文件夹缺少4.0,则安装新版本的Visual Studio可能会为您创建该文件夹。 You could also try copying that folder from a different machine. 您也可以尝试从其他计算机复制该文件夹。
If that doesn't work, try the answers suggested here: 如果这不起作用,请尝试按以下建议的答案进行操作:
dotnet Framework 4 missing from visual studio 2010 Visual Studio 2010中缺少dotnet Framework 4
EDIT: Source for the first suggestion - http://www.anujvarma.com/visual-studio-does-not-display-4-0-or-4-5-framework-option-for-target-framework/ 编辑:第一个建议的来源-http: //www.anujvarma.com/visual-studio-does-not-display-4-0-or-4-5-framework-option-for-target-framework/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.