Visual Studio 不允许我将拖放项目拖放到其中? [英] Visual Studio does not let me drag drop items into it?

查看:16
本文介绍了Visual Studio 不允许我将拖放项目拖放到其中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 Visual Studio 2010 双击时遇到问题,例如配置文件 (*.config).Visual Studio 会打开,但会给我一条关于参数的错误消息.如果我简单地尝试拖放一个 Visual Studio 通常可以读入的文件,该图标会给我不可能的图标"吗?

Using Visual studio 2010 I got problems when double-clicking, for example a config file (*.config). Visual Studio would open but give me a error message about parameters. If I simple try to drag and drop a file that Visual Studio usually can read in to it, the icon will give me the "not possible icon"?

我现在已经安装了 Visual Studio 2012 也有同样的问题?!​​

I have now installed Visual Studio 2012 and it has the same problem?!

这让我的工作变得更加困难,应该很容易拖动 &将文件拖放到 Visual Studio 中,但事实并非如此?现在我必须通过文件菜单手动查找文件?

This makes my work a lot harder, it should be easy to just drag & drop files into Visual Studio, but it's not so? Now I have to manually find the file with the file menu?

请注意,我在安装 Visual Studio 2012 之前已经重新安装了计算机.

Please note, I have re-installed the computer before installing Visual Studio 2012.

推荐答案

在 Windows Vista 和更新的 Windows 资源管理器上以中等完整性级别运行.如果您以管理员身份运行 Visual Studio(高完整性级别),则出于安全原因,操作系统将禁用从资源管理器拖放到 Visual Studio.

On Windows Vista and newer Windows Explorer runs with medium integrity level. If you run Visual Studio as administrator (high integrity level) then for security reasons OS will disable drag and drop from Explorer to Visual Studio.

您可以以普通用户身份运行 Visual Studio,也可以安装 VSCommands for Visual Studio 2012 扩展名.它有几个功能可以帮助解决这个问题,例如:

You can either run Visual Studio as normal user or you can install VSCommands for Visual Studio 2012 extension. It has several features that can help with this such as:

  • 提升的 Windows 资源管理器 - 看起来像 Windows 资源管理器的小工具,但以提升的权限运行,允许拖放
  • 目录资源管理器 - Visual Studio 中的工具窗口,它再次看起来像 Windows 资源管理器并允许拖放
  • 以中等完整性运行 Visual Studio - 允许从 Windows 资源管理器拖放,但您将无法附加到其他用户运行的进程(例如 IIS)

这篇关于Visual Studio 不允许我将拖放项目拖放到其中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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