Visual Studio Tip: Prompt before moving files to a new location in Solution Explorer

Visual Studio Tip: Prompt before moving files to a new location in Solution Explorer

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.

 

Prompt before moving files to a new location : Option to Enable Prompt before Moving Files

While this is enabled, Visual Studio will prompt you before moving multiple files, so that you are sure before your steps.

Prompt before moving files to a new location : Prompt Before Moving Files in Solution Explorer

 

 

Related Tip:  Keep Track of your active files inside Solution Explorer – A Quick Visual Studio Tip

Check out its action :

Subscribe to YouTube Channel 

Hope this helps
Thanks

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.