Where is the "get all" option when opening a solution in Visual Studio 2015?

In previous versions of visual studio, the option "Get everything when solution or project opens"

In Visual Studio 2013, it is the first option in the source control settings: Visual Studio 2013 Source Control Environment Settings

Is this option available in Visual Studio 2015? If not, is there another way to get the latest version automatically when you open the solution?

+3


source to share


1 answer


This feature was removed at the last minute as it had a major negative impact on the dynamic solution loading process, making large solutions open faster in Visual Studio 2015.

Enter from the product group here :

At the end of the ship loop, we found that improving the loading of the asynchronous project caused quite a big problem with this feature. Namely, if you have enabled this feature, you will most likely see VS deadlock if you try to get sources as well as load projects asynchronously. Considering that this feature is generally bad practice and fixing it would be a pretty significant investment, we decided to remove it.

If you want an alternative, it's better to create a small batch script or powershell script that uses the tf command line to get the latest version before opening the solution:



tf get . /recursive /version:T
start solutionfile.sln

      

Thus, the solution is updated before Visual Studio starts parsing it.

I can think of several reasons that would make this "bad practice", mostly when working with multiple developers:

  • This may require conflict resolution and therefore really interfere with the boot process.
  • You might be making changes from others that break the local workspace.
+2


source







All Articles