VS 2012 does not show this dialog, but rather writes some information to conclude that TFS is unavailable, which is acceptable.
For VS 2010 and VS 2008, the most annoying is that sometimes this dialog was shown for each project, that is, if you have 30 projects in the solution, you need to click "OK" 30 times each time you open the solution. To do this, I can assume a partial solution - create a file called "ProjectConfiguration.xml" in the root folder of your solution with this content:
<?xml version="1.0" encoding="utf-8"?> <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> <PropertyGroup> <SccProjectName>SAK</SccProjectName> <SccLocalPath>SAK</SccLocalPath> <SccAuxPath>SAK</SccAuxPath> <SccProvider>SAK</SccProvider> </PropertyGroup> </Project>
Then in each * .csproj file, delete all SccXxx elements and add this line (as the first level XML node code, not in the PropertyGroup ): <Import Project="$(SolutionDir)ProjectConfigurations.xml" /> After that VS starts dialogue only once. Moreover, if you, like me, work with git, you can release git update-index --assume-unchanged 'ProjectConfigurations.xml' and comment on these lines without commenting on them ( assume-unchanged basically git commands ignore changes, even if the file is already being tracked - here is a brief description of this option).
PS We also included one more option in this file, for example, <TreatWarningsAsErrors>true</TreatWarningsAsErrors> - it is perfectly handled by both VS and MSbuild.
source share