AmpScm / AnkhSVN

AnkhSVN provides first class Subversion support for all recent Visual Studio versions.
Apache License 2.0
138 stars 37 forks source link

Visual Studio 2022: "Source control provider associated with this solution could not be found" #53

Open audiamus opened 2 years ago

audiamus commented 2 years ago

Visual Studio 2022 Community Edition, 17.2.3

AnkhSVN build from source, June 3.

Starting up any solution in VS2022 with AnkhSVN source control pops up this message box:

---------------------------
Microsoft Visual Studio
---------------------------
The source control provider associated with this solution could not be found. 
The projects will be treated as not under source control.

Do you want to permanently remove the source control bindings from the projects?
---------------------------
Yes   No   Help   
---------------------------

Clicking "No" seems to bypass the problem and AnkhSVN appears to work.

GaryWayneSmith commented 1 year ago

I have been running 2.9.87 for some time under VS 2022 without issue. Then about 3 weeks ago I created a new project that contained about 3,000 files. This was originally a VS 2019 project that I upgraded to 2022. After that, the solution started raising the same warnings. So, just for the fun of it, I created a brand new project with the same name (which allowed me to run it as a standard 2.0 instead of .Net Framework 4.6.2) and copied over all of the class files manually, imported them into the project using include, and the same thing happened. I was hoping that it was just the 2019=>2022 migration but that does not seem to be the case.

It really didn't like the 3000 files. For the other projects that I also upgrade from 2019 to 2022, it works fine.

arteny commented 3 months ago

Reproduced for me for latest VS build now. Nothing was ported between VS. Just saddenly it begins reproduced on open solution. Pressing No in dialog connects to TFS(git) well. Also I found that here " Tools > Options > Source Control" setting looks like was changed to "Git" with some of last product update. So changing back to TFS fixed the issue.

filmar25 commented 2 months ago

Same thing for me.

From 17.9.6 to 17.10.3 and after each time I open my solution, got this message. I say "NO" and still connected to DevOps and can work.

hfsrazzimonti commented 1 month ago

The first time a solution under github is opened in VS2022 appears to be working however does not have latest code. All subsequential times I open the solution VS2022 prompts this message about Source control provider associated with this solution could not be found. Help doesn't work and don't really know how to resolve it. I even tried to remove the project and bash it again from github, it works the first time i open it again. This is on Wondows 11 by the way