Open jeffoulet opened 3 years ago
Hi,
Checked on the source code. the reference of Microsoft.VisualStudio.Threading is higher then the installed version of VS2017. able to rebuild the package with the correct dll?
same issue with VS2019
I have same error about jeffoulet (in vs2017). I have installed all the last version but I have not resolved. Does everyone have a solution? thanks
I also get the same error message.
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Threading, Version=16.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.VisualStudio.Threading, Version=16.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at GitLab.TeamFoundation.ViewModels.ConnectSectionViewModel.LoadRepositoriesAsync() at GitLab.TeamFoundation.ViewModels.ConnectSectionViewModel..ctor(IMessenger messenger, IShellService shell, IStorage storage, ITeamExplorerServices teamexplorer, IViewFactory viewFactory, IWebService web) at GitLab.TeamFoundation.Connect.GitLabConnectSection.InitializeView(SectionInitializeEventArgs e) at Microsoft.TeamFoundation.Controls.WPF.TeamExplorer.TeamExplorerSectionBase.Initialize(Object sender, SectionInitializeEventArgs e) at GitLab.TeamFoundation.Connect.GitLabConnectSection.Initialize(Object sender, SectionInitializeEventArgs e) at Microsoft.TeamFoundation.Controls.WPF.TeamExplorer.Framework.TeamExplorerSectionHost.Initialize(Object context)
I got this error on VS Professional 2017 Version 15.9.28
Here is how I fixed it.
Here is how I fixed it.
- go to nugget https://www.nuget.org/packages/Microsoft.VisualStudio.Threading/16.5.132
- download package. change extension to .zip and unpack it
- find your extensions folder e.g. [user]/AppData/Local/Microsoft/VisualStudio/[random value]/Extensions/[random value that contains GitLab Extension] note: you will see GitLab dll files so you know you are in the right place
- copy the Microsoft.VisualStudio.Threading.dll into your GitLab extension folder (above)
- restart VisualStudio and the error should be gone
But It's will get a new issue: System.MissingMethodException: 找不到方法:“Microsoft.VisualStudio.Threading.JoinableTaskFactory Microsoft.VisualStudio.Shell.ThreadHelper.get_JoinableTaskFactory()”。 在 GitLab.TeamFoundation.Sync.GitLabPublishSection.Initialize(Object sender, SectionInitializeEventArgs e) 在 Microsoft.TeamFoundation.Controls.WPF.TeamExplorer.Framework.TeamExplorerSectionHost.Initialize(Object context)
Here is how I fixed it.
- go to nugget https://www.nuget.org/packages/Microsoft.VisualStudio.Threading/16.5.132
- download package. change extension to .zip and unpack it
- find your extensions folder e.g. [user]/AppData/Local/Microsoft/VisualStudio/[random value]/Extensions/[random value that contains GitLab Extension] note: you will see GitLab dll files so you know you are in the right place
- copy the Microsoft.VisualStudio.Threading.dll into your GitLab extension folder (above)
- restart VisualStudio and the error should be gone
Aqui deu certo amigo. Muito obrigado
I was able to connect and clone my GitLab repository using the GitHub extension.
Installed product versions
Current behavior
Failed to load plugin at VS start:
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Threading, Version=16.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Das System kann die angegebene Datei nicht finden. File name: 'Microsoft.VisualStudio.Threading, Version=16.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at GitLab.TeamFoundation.ViewModels.ConnectSectionViewModel.LoadRepositoriesAsync() at GitLab.TeamFoundation.ViewModels.ConnectSectionViewModel..ctor(IMessenger messenger, IShellService shell, IStorage storage, ITeamExplorerServices teamexplorer, IViewFactory viewFactory, IWebService web) at GitLab.TeamFoundation.Connect.GitLabConnectSection.InitializeView(SectionInitializeEventArgs e) at Microsoft.TeamFoundation.Controls.WPF.TeamExplorer.TeamExplorerSectionBase.Initialize(Object sender, SectionInitializeEventArgs e) at GitLab.TeamFoundation.Connect.GitLabConnectSection.Initialize(Object sender, SectionInitializeEventArgs e) at Microsoft.TeamFoundation.Controls.WPF.TeamExplorer.Framework.TeamExplorerSectionHost.Initialize(Object context)