Visual Studio不让我拖放项目吗? [英] Visual Studio does not let me drag drop items into it?

查看:219
本文介绍了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天全站免登陆