Thanks for the reply. I created a Salesforce project instead of a DX project, and a Git repository at the project folder, and after re-starting TWS and loading the project, I still see the "Version Control is not enabled for this project..." message. So it doesn't look like Version Control is working at all in my case.
Also FWIW, if I launch Visual Studio directly with the solution name, I'm seeing the following exception in the Version Control window:
An exception was encountered while constructing the content of this frame. This information is also logged in "C:\Users\username\AppData\Roaming\Microsoft\AppEnv\12.0\ActivityLog.xml".
Exception details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = VersionControlMainPanelViewModel (ReflectionActivator), Services = [WelkinSuite.Presentation.ToolWindows.VersionControl.VersionControlMainPanelViewModel], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(WelkinSuite.ShellCore.Services.ShellWindowsService.IShellWindowsService, WelkinSuite.SystemServices.Services.IFileSystemService, WelkinSuite.GettingStarted.IFeatureDisplayManager, WelkinSuite.ProjectModel.IWelkinSuiteApplication, WelkinSuite.Application.VersionControl.Services.IGitVersionControlProviderFactory, WelkinSuite.ShellCore.Services.ShellDifferenceService.IShellDifferenceService, WelkinSuite.Presentation.Services.IMessageBoxService, WelkinSuite.ShellCore.Services.ShellDifferenceService.IShellDifferenceService, WelkinSuite.Application.VersionControl.IVersionControlSettingsHelper, WelkinSuite.SettingsService.Services.IMergeToolsSettingsService, WelkinSuite.MergeToolService.Services.IMergeTreeWayHelper)' on type 'VersionControlMainPanelViewModel'. ---> Value cannot be null.
Parameter name: name (See inner exception for details.) (See inner exception for details.) ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(WelkinSuite.ShellCore.Services.ShellWindowsService.IShellWindowsService, WelkinSuite.SystemServices.Services.IFileSystemService, WelkinSuite.GettingStarted.IFeatureDisplayManager, WelkinSuite.ProjectModel.IWelkinSuiteApplication, WelkinSuite.Application.VersionControl.Services.IGitVersionControlProviderFactory, WelkinSuite.ShellCore.Services.ShellDifferenceService.IShellDifferenceService, WelkinSuite.Presentation.Services.IMessageBoxService, WelkinSuite.ShellCore.Services.ShellDifferenceService.IShellDifferenceService, WelkinSuite.Application.VersionControl.IVersionControlSettingsHelper, WelkinSuite.SettingsService.Services.IMergeToolsSettingsService, WelkinSuite.MergeToolService.Services.IMergeTreeWayHelper)' on type 'VersionControlMainPanelViewModel'. ---> Value cannot be null.
Parameter name: name (See inner exception for details.) ---> System.ArgumentNullException: Value cannot be null.
Parameter name: name
at LibGit2Sharp.RemoteCollection.RemoteForName(String name, Boolean shouldThrowIfNotFound)
at LibGit2Sharp.RemoteCollection.get_Item(String name)
at WelkinSuite.LocalHistoryService.Implementation.Services.GitVersionControlProvider.MapBranchToGitBranch(Repository repository, Branch branch)
at WelkinSuite.LocalHistoryService.Implementation.Services.GitVersionControlProvider.<>c__DisplayClass23.<GetGitCurrentBranch>b__22(GitRepository repository)
at WelkinSuite.LocalHistoryService.Implementation.Services.GitVersionControlProvider.RepositoryOperation(Action`1 action)
at WelkinSuite.LocalHistoryService.Implementation.Services.GitVersionControlProvider.GetGitCurrentBranch()
at WelkinSuite.Presentation.ToolWindows.VersionControl.VersionControlMainPanelViewModel.get_IsRepositoryInitialized()
at WelkinSuite.Presentation.ToolWindows.VersionControl.VersionControlMainPanelViewModel.SolutionUpdateLoading(ISalesforceProject project)
at WelkinSuite.Presentation.ToolWindows.VersionControl.VersionControlMainPanelViewModel..ctor(IShellWindowsService shellWindowsService, IFileSystemService fileSystemService, IFeatureDisplayManager featureDisplayManager, IWelkinSuiteApplication application, IGitVersionControlProviderFactory versionControlProviderFactory, IShellDifferenceService differenceService, IMessageBoxService messageBoxService, IShellDifferenceService shellDifferenceService, IVersionControlSettingsHelper versionControlSettingsHelper, IMergeToolsSettingsService mergeToolsSettingsService, IMergeTreeWayHelper mergeTreeWayHelper)
at lambda_method(Closure , Object[] )
at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
--- End of inner exception stack trace ---
at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
--- End of inner exception stack trace ---
at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
at Autofac.Core.Resolving.InstanceLookup.Execute()
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)
at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
at Autofac.Core.Container.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters)
at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context)
at WelkinSuite.DI.ProjectContainer.Resolve[T]()
at WelkinSuite.Presentation.ToolWindows.VersionControl.VersionControlMainPanel..ctor()
at WelkinSuite.CorePackage.ToolWindows.VersionControl.VersionControlMainToolWindow..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, ProvideToolWindowAttribute tool)
at Microsoft.VisualStudio.Shell.Package.FindToolWindow(Type toolWindowType, Int32 id, Boolean create, ProvideToolWindowAttribute tool)
at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.CreateToolWindow(Guid& toolWindowType, UInt32 id)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()