我無法在我的visual studio 2012中獲取源對話框。 我得到空引用異常:任何想法是什麼原因造成的?當我連接到Visual Studio 2012中的TFS源時,我得到了異常
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.VisualStudio.TeamFoundation.VersionControl.PendingChanges.PendingChangesModelVS.Initialize(IServiceProvider serviceProvider, VersionControlServer versionControlServer, Workspace workspace)
at Microsoft.TeamFoundation.VersionControl.Controls.PendingChanges.PendingChangesPage.InitializeModel(PageInitializeEventArgs e)
at Microsoft.TeamFoundation.Controls.WPF.TeamExplorer.TeamExplorerPageBase.Initialize(Object sender, PageInitializeEventArgs e)
at Microsoft.VisualStudio.TeamFoundation.VersionControl.PendingChanges.PendingChangesPageVS.Initialize(Object sender, PageInitializeEventArgs e)
at Microsoft.TeamFoundation.Controls.WPF.TeamExplorer.Framework.TeamExplorerPageHost.Initialize(TeamExplorerPageContext context)
VS親爲最新版本。