Visual Studio 2012 Tips and Tricks – Enable/Disable Message Box on Automatic Symbol Renaming

In the Visual Studio 2012, when you rename a file within the solution explorer, you will receive a confirmation dialog as shown below.

Microsoft Visual Studio
You are renaming a file. Would you also like to perform a rename in this project of all references to the code element ‘Class2’?
Yes No

 

Visual Studio 2012 Tips and Tricks - Enable/Disable Message Box on Automatic Symbol Renaming

 

This is an informative message and lets you to rename of all the references of the file/class that you are about to rename in the project. There are times when you want to disable this confirmation dialog. If you want to disable the Confirmation Dialog on automatic renaming, follow the below steps.

1. In Visual Studio 2012, navigate to Tools -> Options.

Visual Studio 2012 Tips and Tricks - Enable/Disable Message Box on Automatic Symbol Renaming

2. In the Options Dialog, expand “Projects and Solutions” in the left sidebar and click “General”.

3. In the Content Pane, uncheck the option “Prompt for symbolic renaming when renaming files” and click OK.

Visual Studio 2012 Tips and Tricks - Enable/Disable Message Box on Automatic Symbol Renaming

4. You are done. Next time when you rename, the confirmation message will not appear.

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

Do you want to hide the start page in Microsoft Visual Studio 2012 within few simple steps? Here we go....
DataTip is a feature in Visual Studio that provides the users an easy way to view information about variables used...
Today, when I was trying to install the Team Foundation Server (TFS) Power Tools 2013, I received an error “The...