How to permanently disconnect a Visual Studio solution from a control source

I have a Visual Studio 2012 solution with multiple projects. Each time I open a solution file, I get a message:

No maps were found for the solution.
The active solution was temporarily disconnected from source control because the server is unavailable. To try to connect to the control source, close and then reopen the solution when the server is available. If you want to connect this solution to another server, use the Change Source Control dialog box.

What I want to do, CONSTANTLY removes all references to the control source, but so far no luck.

Here is what I have tried so far

  • The usual suspicious files, such as suo, mssccprj.scc, vssver.scc, etc., have been deleted.
  • Manually opened each project file (.vbproj, .csproj) and deleted four lines
    SccProjectName = "etc"
    SccAuxPath = "etc"
    SccLocalPath = "etc"
    SccProvider = "etc"
  • Ditto for solution file
  • It is noted that in my solution there is a website project (and not a web application project), but as a website project, I can not perform step 2 on it.
  • The "File / Sources / Advanced / Initial Version Control" dialog box was checked and noticed that in each of the listed solutions / projects there is no SERVER, NO DETECTION, Status is not controlled.

Like the message described above (it was temporarily disabled, etc.), the next 4 lines always receive ADDED BACK in the solution file, regardless of how many times I deleted them.

SccProjectName = "MyApp"
SccAuxPath = "https://some.annoying.domain.com/VaultService"
SccLocalPath = "4 ~ 89a6b376-099d-49a7-801a-2ba7adb0e268"
SccProvider = "SourceGear Vault Visual Studio 2005 Client: {7BE9CE03-56BF-4682-9C06-78C68B134B30}"

These 4 lines are in the section on website design.

Project ("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "MyApp",
" http://localhost/MyApp ", "{A5301379-1092-419E-9B03-E37E16E0A8B2}"
ProjectSection (WebsiteProperties) = preProject

I strongly suspect the website design is spinning it. But where does the website design contain source control information?

Additional Information:

I already searched the entire contents of the file for the string "some.annoying.domain.com", but came up with nothing meaningful (found in OTHER solutions, and not in this particular solution).

The solution seems to have been originally created in VS2010 (where the previous developer explicitly used the SourceGear Vault product).

** NB: I could try changing the proj website to the proj web application and see how this happens, but it is not.

+5
source share
3 answers

Change the version control plugin to None:

 Tools -> Options -> Source Control -> Plug-in Selection: None 

And answer Yes to the question if you want the sources not to be under source control.

+18
source

in addition to your previous steps, try deleting the contents of C: \ Users \ [yourusername] \ AppData \ Local \ Microsoft \ Team Foundation \ [version] \ Cache

I hope this helps

+2
source

For step 2 (in fact, I did this in the solution file, since my solution does not have project files), try setting all the values ​​to empty:

  • SccProjectName = ""
  • SccAuxPath = ""
  • SccLocalPath = ""
  • SccProvider = ""
-1
source

Source: https://habr.com/ru/post/1203578/


All Articles