Question

Is there some way to enable Visual Studio 2008 to accept dropped files from Windows explorer?

I can't count the number of times I've instinctively dragged a file into VS just to be reminded of this obvious feature than seems to be missing.

Surely there has to be some way to do this.


EDIT

I did find the VS Explorer addin while searching for an answer to this. I like it, but it would still be nice to have drag and drop from explorer.


EDIT II

To clarify I would like to be able to open projects/solutions and individual files (xml,.c,.cpp,etc) by dropping them. Like right now, I have this XML file I want to take a look at in VS. I have my project open, but I can't drag the XML file into VS to open it. I have to File...Open...

Was it helpful?

Solution

This works out of the box.

However, if you are running Visual Studio as Administrator or as another user (diferent user from your currently logged in Windows user) Windows doesn't allow this kind of operation.

OTHER TIPS

Can you expand on what you get, I can do this ok...Drag from windows explorer into a VS solution?

It is default functionality. dragging a file will open usually.

What happens when you try to do this?

I found a good discussion on this topic that covers a slightly different workflow at:

Drag and drop doesn't work in Visual Studio 2008, but does out of it

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top