Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I get Visual Studio to always reload changed solutions, projects and files?

I'm using multiple machines to profile and run one solution, with data synchronization done via DropBox (brilliant, btw!). Unfortunately, changes in one machine cause all other machines' VS instances to ask me whether I want to reload which is... annoying, because the answer is always Yes.

So my question is: can I get VS to assume that the answer is always Yes?

like image 568
Dmitri Nesteruk Avatar asked Dec 10 '10 12:12

Dmitri Nesteruk


People also ask

How do I reload all projects in Visual Studio?

In Solution Explorer, select the projects you want to load (press Ctrl while clicking to select more than one project), and then right-click on the project and choose Reload Project. Visual Studio will remember which projects are loaded the next time you open the solution locally.

How do I update Visual Studio files?

In the local toolbar of the File List, click , then select Get Latest Version (for selected files) or Project > Get Latest Version All (for all files in the project). Source Control Explorer With the Pending Changes pane open, right-click the file you want to update and select Get Latest Version.

How do I reload a project in Visual Studio 2022?

When using Visual Studio 2022 and starting your app with the debugger, you can hot reload a native C++ application when running under the debugger (F5) using the Hot Reload button. Hot Reload is also supported for apps built using CMake and OpenFolder projects. This experience is powered by native Edit and Continue.

How do I unload and reload Visual Studio project?

Right-click the project in Solution Explorer, and click Reload Project. To remove the UModel project from the Visual Studio solution: Unload the project, as shown above. Right-click the project in Solution Explorer, and click Remove.


1 Answers

Go to

Options -> Environment -> Documents

Then check the boxes:

  • "Detect when file is changed outside the environment"
  • "Auto-load changes, if saved"

Tip: You're missing a trick not using proper source control.

like image 187
spender Avatar answered Sep 29 '22 13:09

spender