Is there a way to disable the drag&drop functionality for Solution Explorer? Why would you ask? I'm using an wacom pen tablet for quite some years and I love it. But when you use it in solution explorer in combination with a source control like TFS or AnkhSvn it's a disaster when you accidentally move a file into an different directory.
I currently set visual studio to prompt when files are wanted to check out, but when a solution/project file already is checked out then the above problems still exist.
One way to disable dragging an image from an HTML page is to set the ondragstart property of an image element to a function that returns false . We can write: const img = document. querySelector('img') img.
There is a plugin to Visual Studio 2010 that will prompt you drag & drop files in Solution Explorer: http://visualstudiogallery.msdn.microsoft.com/en-us/d491911d-97f3-4cf6-87b0-6a2882120acf
Sadly, turning off the drag and drop function in the Sollution Explorer is not possible.
Edit: The third post (by a Microsoft employee) in this Microsoft Forum thread confirms this.
Edit: Judging from this entry on Microsoft connect it also looks like this is something they have no intention of improving.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With