GitLab.VisualStudio icon indicating copy to clipboard operation
GitLab.VisualStudio copied to clipboard

Available for VS 2022

Open pin8marian opened this issue 4 years ago • 8 comments

Installed product versions

  • Microsoft Visual Studio Professional 2022 (64-bit) - LTSC 17.0
  • This extension: [example 1.1.21]

Description

This is a question not an issue. When this extension will be available for Microsoft Visual Studio Professional 2022 (64-bit) - LTSC 17.0

pin8marian avatar Dec 01 '21 22:12 pin8marian

I would also like to know ...

angelru avatar Dec 06 '21 11:12 angelru

VS2022 seems to have changed a lot from VS2019, I don't know how to modify it, and I can't find open source project code to learn from.

GitLab.VisualStudio.zip

I compiled a version, but reported an error.


System.ComponentModel.Compos.Compos.CompostContractMismatchExexex ComposablePartForExportFactory"'s underlying export value cast to type Microsoft.TeamFounding.Controls.ITeamExplororSection.
At System.ComponentModel.Form.ExportServices.CastExportedValue (ICompositionElement element, Object exportedValue)
At System.ComponentModel.Form.ReflectionModel.ExportFactor.LifeContext.GetExportLifetimeContextFromExport
At System.ComponentModel.Component.ExportFactory'1.CreateExport()
At Microsoft.TeamFoundation.Controls.WPF.TeamExplorer.Framework.TeamExplorerSectionHost.Create()

System.ComponentModel.Composition.CompositionContractMismatchException: 无法将类型“Microsoft.VisualStudio.Composition.NetFxAdapters+MefV1ExportProvider+ComposablePartForExportFactory”的基础导出值强制转换为类型“Microsoft.TeamFoundation.Controls.ITeamExplorerSection”。
在 System.ComponentModel.Composition.ExportServices.CastExportedValue[T](ICompositionElement element, Object exportedValue)
在 System.ComponentModel.Composition.ReflectionModel.ExportFactoryCreator.LifetimeContext.GetExportLifetimeContextFromExport[T](Export export)
在 System.ComponentModel.Composition.ExportFactory`1.CreateExport()
在 Microsoft.TeamFoundation.Controls.WPF.TeamExplorer.Framework.TeamExplorerSectionHost.Create()




maikebing avatar Dec 13 '21 15:12 maikebing

Have you read this? https://docs.microsoft.com/en-us/visualstudio/extensibility/migration/update-visual-studio-extension?view=vs-2022 especially: https://docs.microsoft.com/en-us/visualstudio/extensibility/migration/breaking-api-list?view=vs-2022

there's also: https://devblogs.microsoft.com/visualstudio/writing-extensions-just-got-easier/ https://devblogs.microsoft.com/visualstudio/how-can-we-improve-extensibility-in-visual-studio/

neico avatar Dec 13 '21 16:12 neico

Thank you, I will read them carefully .

maikebing avatar Dec 15 '21 04:12 maikebing

Thank you, I will read them carefully .

Hi maikebing. Could you find a way to solve it?

lsvb30 avatar Jan 17 '22 18:01 lsvb30

New versions of GitLab are difficult to login with a username and password. So, I'm thinking about whether to use a browser to sign in.

maikebing avatar Jan 18 '22 10:01 maikebing

Git feature changes for VS2022 and VS2019 also need to be re-adapted.

maikebing avatar Jan 18 '22 10:01 maikebing

Git feature changes for VS2022 and VS2019 also need to be re-adapted.

maikebing avatar Jan 18 '22 10:01 maikebing