AnkhSVN
AnkhSVN copied to clipboard
Source Control error during solutions opening
In our working group we are using AnkhSVN to manage projects. Since march/april every time we open up a solution this message box that says : "the source control provider associated with this solution could not be found. The project will be treated as not under source control. do you want to permanently remove the source control bindings from the projects?" opens.
We cant figure out how to fix this problem.
We are using Visual studio Enterprise 2017 an the latest version of AnkhSVN.
Did you get an initial load error an AnkhSVN on an earlier start of Visual Studio?
Looks like the main package is somehow disabled.
We fixed the issue by manually specifing the provider in the csproj file
<PropertyGroup>
<SccProjectName>Svn</SccProjectName>
<SccLocalPath>Svn</SccLocalPath>
<SccAuxPath>Svn</SccAuxPath>
<SccProvider>SubversionScc</SccProvider>
</PropertyGroup>
We couldn't find a solution for projects that aren't in the new SDK style.
I believe it is related with async plugins load where simply the ankh plugin gets loaded after the message box. It doesn't always happen, so I tend to believe some sort of race condition.
Hmm, interesting.. Haven't seen this issue myself yet, but my current employer works with git so I don't see these cases that often any more. Patch or reproduction recipe for somebody with AnkhSVN debugging setup would be very useful.
This could be relatated to issue #44, which just got a workaround.
The only solution we could find was to pass to a previous stable version of Ankh SVN
Would it be possible that you or a colleague tests the last build from GitHub Actions, to see if it fixes this issue for you?