Prompt before moving files to a new location in Visual Studio could save a lot of time. Accidentally moving files to a random directory in solution explore within Visual Studio creates a lot of troubles and we faced this many times. While moving files in solution explorer, instead of one directory, we moved them to same other locations accidentally. And, mostly happens with drag and drop. You can avoid this by enabling a confirmation before moving more than on files to any places while dealing files in solution explorer.
Prompt before moving files to a new location
You can enable this by navigation from Tools > Options, Under Projects & Solutions > General select “Prompt before moving files to a new location” checkbox.
While this is enabled, Visual Studio will prompt you before moving multiple files, so that you are sure before your steps.
Check out its action :
Hope this helps