A Visual Studio Extension that displays source files Added/Modified/Renamed between a base branch you choose to diff against, and the current working branch in your Git repo. The diffed files are shown in the Solution Explorer using a Solution Explorer Filter
[x] Investigate: Something broke for VS2019: DLLNotFoundException for libgit2 native library.
[x] Update public documentation and README with new screenshots. (New Git reference configuration window and open command text changes)
[x] Update in docs that we expect atleast one default branch or a commit present in the repo, as we set a default Git reference the first time the filter is installed
[x] Fix this bug before releasing, package fails when user opens solution not part of a git repo: ``````
2318ErrorSetSite failed for package [GitBranchDifferPackage]Source: 'BranchDiffer.Git' Description: Unable to find a Git repository at this solution's directory (C:\Github\movies-api-challenge) or it's parent directories.
BranchDiffer.Git.Exceptions.GitRepoNotFoundException: Unable to find a Git repository at this solution's directory (C:\Github\movies-api-challenge) or it's parent directories.
at BranchDiffer.Git.Core.GitRepositoryFactory.DoCreate(String directoryPath) in D:\a\GitBranchDiffer\GitBranchDiffer\src\BranchDiffer.Git\Core\GitRepositoryFactory.cs:line 36
at BranchDiffer.Git.Core.GitObjectsStore.FindGitReferenceBySha(String solutionPath, String sha) in D:\a\GitBranchDiffer\GitBranchDiffer\src\BranchDiffer.Git\Core\GitObjectsStore.cs:line 49
at BranchDiffer.VS.Shared.GitBranchDifferPackage.GetLastUsedGitReference() in D:\a\GitBranchDiffer\GitBranchDiffer\src\BranchDiffer.VS.Shared\GitBranchDifferPackage.cs:line 138
at BranchDiffer.VS.Shared.GitBranchDifferPackage.SetSolutionPathOnFilter() in D:\a\GitBranchDiffer\GitBranchDiffer\src\BranchDiffer.VS.Shared\GitBranchDifferPackage.cs:line 115
at BranchDiffer.VS.Shared.GitBranchDifferPackage.<InitializeAsync>d__8.MoveNext() in D:\a\GitBranchDiffer\GitBranchDiffer\src\BranchDiffer.VS.Shared\GitBranchDifferPackage.cs:line 64
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Shell.AsyncPackage.<>c__DisplayClass21_0.<<Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)
at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck){156FCEC6-25AC-4279-91CC-BBE2E4EA8C14}0x80131509
0x80131509