the full error message is:
"The Project 'my.project.name' is under source control. An error occurred registering this project with source control. It is recommended that you do not make any changes to this project."
It seems that I can make the error message go away, and load the project correctly by opening the csproj file, and remove all nodes with names starting with "scc" - however, then I have to confirm wanting to use the solution Source control settings every time I open the solution.
Any suggestions?
On the Project tab, in the Source Control section, click Use Source Control. In the Source control Information dialog box, click Add Project to Source Control. In the Add to Source Control dialog box, in the Source control tool list, select Git to use the Git source control tool provided by the project.
"Add to Source Control" is shown when a solution or project or folder has not been opened - Visual Studio Feedback. Skip to main content.
Please open the *.csproj file of your project then replace the following tags:
<SccProjectName>SAK</SccProjectName> <SccLocalPath>SAK</SccLocalPath> <SccAuxPath>SAK</SccAuxPath> <SccProvider>SAK</SccProvider>
With
<SccProjectName> </SccProjectName> <SccLocalPath> </SccLocalPath> <SccAuxPath> </SccAuxPath> <SccProvider> </SccProvider>
Close the solution, close VS, reopen VS and then your problem will be resolved.
The problem is with the *.csproj.user
and if you have source control with the *.csproj.vspscc
(in VS2012). Delete both, close the solution, close VS, reopen VS using the Run As (preferably administrator) and it should be fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With