目标框架下拉空 [英] Target framework dropdown empty

查看:91
本文介绍了目标框架下拉空的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装VS.NET 2010 premium,但试图目标现有的.NET框架时看来是一个问题。当我打开一个Web应用程序项目的属性,我得到的唯一的选择就是安装一个框架。如果我打开属性,任何其他项目类型我得到的完整列表。

I have VS.NET 2010 Premium installed, but there seems to be an issue when trying to target existing .NET frameworks. When I open properties for a web application project, the only option I get is to install a framework. If I open properties for any other project type I get the full list.

到目前为止,我已经做了以下无济于事:

So far I've done the following to no avail:

  • 在修复和重新安装Microsoft.NET Framework 4的客户端配置文件
  • 在修复和重新安装Microsoft.NET Framework 4的扩展
  • 在修复和重新安装Microsoft.NET Framework 4的多目标包
  • 在修复和重新安装VS.NET 2010 premium
  • 重新申请,重新安装VS.NET 2010 SP1。

我发现一个问题上似乎是相关的关系,但没有答案不幸。

I did find one question on that appear to be related related, but there were no answers unfortunately.

的Visual Studio 2010 [否目标框架"

任何想法?

推荐答案

我有过这样的问题,以及在多个不同的机器,并不得不在每次重新找到了答案!

I have had this issue as well across a number of different machines and have had to rediscover the answer each time!

这一直为我工作的解决方案是更改机器上的环境变量用户变量TEMP和TMP。路径:\温度℃,而不是默认的位置,包括你的用户名(与撇号)

The solution that has worked consistently for me is to change the Environment variables on the machine for the User Variables "TEMP" and "TMP". I repoint both of these variables to "c:\Temp" rather than the default location which includes your user name (with apostrophe) in the path.

通过每个Visual Studio中挣扎设置相关账户的具体路径(工程,模板等),这一直是我所需要作出解决问题的唯一变化之后。

After struggling through each Visual Studio setting related to account specific paths (Projects, Templates, etc.) this has been the only change I have needed to make to fix the problem.

马特·奥布莱恩

这篇关于目标框架下拉空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆