Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working Visual Studio 2022 17.2.2 #624

Open
izzyreal opened this issue May 28, 2022 · 7 comments
Open

Not working Visual Studio 2022 17.2.2 #624

izzyreal opened this issue May 28, 2022 · 7 comments
Labels

Comments

@izzyreal
Copy link

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 izzyreal added the bug label May 28, 2022
@Saragani
Copy link

Visual Studio 17.2.6 - Same thing.

@ITSharkz
Copy link

17.4.2 - the same

@Mac-Olo
Copy link

Mac-Olo commented Apr 11, 2023

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

@TomMcKeown80
Copy link

Nothing showing with 17.6.7

@pukguy
Copy link

pukguy commented Oct 30, 2023

17.6.8 - the same

@CaCTuCaTu4ECKuu
Copy link

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

@sharwell
Copy link
Collaborator

sharwell commented May 23, 2024

Can one of you submit a feedback ticket (Report a Problem in Visual Studio) for this, and include a recording (using the feedback tool) of what happens when you open the IDE and then open a file which is expected to show changes? You can mention me in the feedback to help the triage team get it over to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants