Visual Studio does not let me drag drop items into it?

前端 未结 9 595
执笔经年
执笔经年 2020-11-30 05:46

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

9条回答
  •  感情败类
    2020-11-30 05:56

    This was driving me nuts. In my Visual Studio solution I have two Web Application which use IIS as web server so because of this I have to always start my Visual Studio in Administrator mode. After starting as Admin I wasn't able to drag and drop files from Explorer to Visual Studio.

    Solution:

    1. Open Command Prompt as Administrator (Shortcut for Windows 8.1 is ⊞ Win + X + A)
    2. Type "explorer" this would open Windows Explorer with Admin privileges.

    CMD Admin

    And now you should be able to drag and drop any file from explorer to Visual Studio

    Drag n' Drop

提交回复
热议问题