EgorBo / Disasmo

VS2022 Add-in. Click on any method or class to see what .NET Core's JIT generates for them (ASM).
MIT License
638 stars 39 forks source link

Weird sporadic issue with Disasmo #47

Open MadProbe opened 9 months ago

MadProbe commented 9 months ago

Sometimes when I open up VS anew and want to disassemble the method I can encounter this strange exception:

System.ArgumentException: The path is not of a legal form.
   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   at System.IO.Path.InternalGetDirectoryName(String path)
   at Disasmo.MainViewModel.<RunOperationAsync>d__80.MoveNext()

It fixes up itself eventually but I don't understand how I get to see this problem self-fixed at all and I have no clear reasoning what's wrong about it. BTW I have tried to try this with local dotnet/runtime build, turned all the switches on/off but it still doesn't work

MadProbe commented 8 months ago

I have done some research on this and with share bit of luck I have found out that this issue happens if I have selected Solution Items folder in the Solution Explorer window.

Rob-Hague commented 6 months ago

I have done some research on this and with share bit of luck I have found out that this issue happens if I have selected Solution Items folder in the Solution Explorer window.

Legend, thanks