How can we help you today? How can we help you today?
fandrei

Activity overview

Latest activity by fandrei

Error - "The loaded PDB file for the assembly "System.Windows.Forms" is not the one .NET Reflector "
Any ideas why this may be happening? ---------------------------.NET Reflector---------------------------The loaded PDB file for the assembly "System.Windows.Forms" is not the one .NET Reflector e...
1 follower 1 comment 0 votes
Also, some assemblies are shown twice in the "Generate PDBs" dialog, the only difference is the case of their path. For instance, "C:\Windows\Microsoft.NET" and "C:\Windows\Microsoft.Net" / comments
Also, some assemblies are shown twice in the "Generate PDBs" dialog, the only difference is the case of their path. For instance, "C:\Windows\Microsoft.NET" and "C:\Windows\Microsoft.Net"
0 votes
Russell D said: %LOCALAPPDATA%\Red Gate\.NET Reflector\  is the location of the log file and should hopefully tell us what was the cause of the error. There are lots of errors like the following in there, but nothing that says "Length cannot be less than zero" By the way, doesn't your telemetry report info about exceptions? 05 Jun 2020 15:00:45.847 [112] WARN  RedGate.Reflector.VsPackage.Engine.IntegrationEngine - RedGate.Reflector.VsPackage.Engine.ReferenceException: The standard project reference Newtonsoft.Json has no location    at RedGate.Reflector.VsPackage.Engine.IntegrationEngine.GetOurReferenceForReference(Reference reference, ProcessorArchitecture architecture)    at RedGate.Reflector.VsPackage.Engine.IntegrationEngine.ProcessProjectReferences(Project project, Action`2 action, ProcessProjectReferencesOptions options, Action`1 failedToResolveAction) Additionally, what exactly were you doing when the error appeared? For example, did you use "Go To Decompiled Definition" option from the code area context menu, or did you press F12 on a code element, or has clicked something in one of .NET Reflector's tool windows (e.g. .NET Reflector Analyzer or .NET Reflector Object Browser)? It was happening when I was using F12 on a code element, but today another error happened when I tried to use the "Generate PDBs" feature, immediately when the dialog showed up. I managed to open the details using the hidden buttons on the error form: Object reference not set to an instance of an object. System.NullReferenceException   at RedGate.Reflector.VsPackage.Engine.ModulesReader.ForLoadedModules(Action`2 assemblyAction, Action`3 pdbAction)   at RedGate.Reflector.VsPackage.Gui.PdbGeneration.<>c__DisplayClass28_0.<SetUpDialogForAssemblyChoosing>b__2()" Did the error appear when interacting with any specific assembly? If so, can you share that assembly to help us reproduce the issue?No idea. Will contact you if I manage to pin it down. As for the reason for the dialog's invalid size, it might be related to system DPI settings (high DPI), so we may need to investigate it separately, what resolution/dpi are you using? Most likely. I have a 4k monitor and use 175% scaling. Also, the "Generate PDBs" dialog is shown partially off the screen when it opens. / comments
Russell D said: %LOCALAPPDATA%\Red Gate\.NET Reflector\ is the location of the log file and should hopefully tell us what was the cause of the error. There are lots of errors like the follo...
0 votes
"Length cannot be less than zero" error message
Sometimes I'm getting this error message when trying to decompile-and-navigate. It's annoying and cannot be closed. Any ideas why?
3 followers 5 comments 0 votes
How do I change the language for "go to definition" decompilation?
When I use the "go to definition" command, Reflector 10 decompiles the target class to IL code. How can I switch it to decompile to C#?
0 followers 0 comments 0 votes
Russell D wrote: » Hi fandrei, sorry I didn't get any notification here - did you get this working? I had to uninstall it and then reinstall from the VS gallery, this helped. / comments
Russell D wrote: » Hi fandrei, sorry I didn't get any notification here - did you get this working? I had to uninstall it and then reinstall from the VS gallery, this helped.
0 votes
Russell D wrote: » Which build? I've already updated it manually. It was the latest release build before 9.2 Now I have Reflector Visual Studio Extension 9.2 installed, but it doesn't appear in VS2017. Any ideas what went wrong? / comments
Russell D wrote: » Which build? I've already updated it manually. It was the latest release build before 9.2 Now I have Reflector Visual Studio Extension 9.2 installed, but it doesn't appear i...
0 votes