GitDiffMargin icon indicating copy to clipboard operation
GitDiffMargin copied to clipboard

Not working Visual Studio 2022 17.2.2

Open izzyreal opened this issue 2 years ago • 7 comments

Versions

  • Git Diff Margin version: 3.12.1
  • Visual Studio version: 17.2.2

What happened

Installing the extension only makes the margin a bit wider. Other than that, I don't see that the extension is doing anything. Since this is the first time using the extension, I'm not entirely sure if I need to perform some special action in order to see something that the extension is doing.

I've added the toolbar, but all of its buttons are greyed out.

Things I've tried:

  • Wait for background tasks to complete
  • Update Visual Studio to 2022 17.2.2 (not sure what version I was on, but it was in the 2022 range)
  • Set the theme to Blue (it was on Dark)
  • Select some code
  • Disable/Enable the extension without restarting VS
  • Disable the extension, restart, Enable, restart and check again
  • Remove and reinstall the extension

In no case do I see anything that isn't there without the extension, except for a wider margin when the extension is installed and active.

Steps to Reproduce

Steps to reproduce the behavior: Unsure how to reproduce it on other systems. All I did was install the extension on VS2022. I have not seen it work and this is the first time I've tried this extension.

Expected behavior

Additional stuff besides the wider margin.

Screenshots

image

Logs

Many instances of the below are present in the logs:

  <entry>
    <record>731</record>
    <time>2022/05/28 19:32:16.166</time>
    <type>Error</type>
    <source>Editor or Editor Extension</source>
    <description>System.IO.FileNotFoundException: Could not load file or assembly &apos;GitDiffMargin.Impl, Version=3.12.0.0, Culture=neutral, PublicKeyToken=72dfb55bb9fc8a25&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;File name: &apos;GitDiffMargin.Impl, Version=3.12.0.0, Culture=neutral, PublicKeyToken=72dfb55bb9fc8a25&apos;&#x000D;&#x000A;   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)&#x000D;&#x000A;   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)&#x000D;&#x000A;   at System.Type.GetType(String typeName, Boolean throwOnError)&#x000D;&#x000A;   at Microsoft.VisualStudio.Editor.Implementation.CommandHandlerServiceAdapter.&lt;&gt;c__DisplayClass34_0.&lt;FindCustomArgsType&gt;b__0()&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint[T](Object errorSource, Func`1 call, T valueOnThrow)&#x000D;&#x000A;&#x000D;&#x000A;WRN: Assembly binding logging is turned OFF.&#x000D;&#x000A;To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.&#x000D;&#x000A;Note: There is some performance penalty associated with assembly bind failure logging.&#x000D;&#x000A;To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].&#x000D;&#x000A;</description>
  </entry>

Let me know if there's anything else I can do to assist in troubleshooting.

izzyreal avatar May 28 '22 19:05 izzyreal

Visual Studio 17.2.6 - Same thing.

Saragani avatar Jul 17 '22 14:07 Saragani

17.4.2 - the same

ITSharkz avatar Dec 12 '22 12:12 ITSharkz

Mine's doing nothing as well in 17.5.4. I fear that this is abandoned, as the last release was back in 2021.

Mac-Olo avatar Apr 11 '23 18:04 Mac-Olo

Nothing showing with 17.6.7

TomMcKeown80 avatar Oct 05 '23 10:10 TomMcKeown80

17.6.8 - the same

zhengweidi avatar Oct 30 '23 08:10 zhengweidi

17.9.0 - nothing It's very strange how CodeLense is missing from VS community but working in free VS Code. Are they doing smth to prevent this from working in IDE? That so lame and stupid

CaCTuCaTu4ECKuu avatar Mar 17 '24 03:03 CaCTuCaTu4ECKuu