login | about | faq

If you have any feedback from our EAP, we've created a UserVoice forum especially for you! Check it out, and let us know what you think of the latest Early Access build.

I recall that some time ago (before VS 2010 was released), the "Open in .NET Reflector" option directly opened the clicked type or member. But this doesn't work any more for me. It opens the Reflector and loads the assembly, but it doesn't jump to the type or member.

I have tested this with Reflector 6.5, 6.6 and 7.0. Any idea how I can fix this?

Here is all my about info:

Microsoft Visual Studio 2010 Version 10.0.30319.1 RTMRel Microsoft .NET Framework Version 4.0.30319 RTMRel

Installed Version: Premium

Microsoft Office Developer Tools 01021-532-2002102-70567 Microsoft Office Developer Tools

Microsoft Visual Basic 2010 01021-532-2002102-70567 Microsoft Visual Basic 2010

Microsoft Visual C# 2010 01021-532-2002102-70567 Microsoft Visual C# 2010

Microsoft Visual F# 2010 01021-532-2002102-70567 Microsoft Visual F# 2010

Microsoft Visual Studio 2010 Code Analysis Spell Checker 01021-532-2002102-70567 Microsoft Visual Studio 2010 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Microsoft Visual Studio 2010 Team Explorer 01021-532-2002102-70567 Microsoft Visual Studio 2010 Team Explorer

Microsoft Visual Web Developer 2010 01021-532-2002102-70567 Microsoft Visual Web Developer 2010

Crystal Reports Templates for Microsoft Visual Studio 2010
Crystal Reports Templates for Microsoft Visual Studio 2010

Microsoft StyleCop 4.4 Provides source code style and consistency tools.

Microsoft Team Foundation Server 2010 Power Tools 3.2.40301.0 Power Tools that extend the Team Foundation Server integration with Visual Studio.

Microsoft Visual Studio 2010 SharePoint Developer Tools 10.0.30319 Microsoft Visual Studio 2010 SharePoint Developer Tools

Microsoft Visual Studio Process Editor 1.0 Process Editor for Microsoft Visual Studio Team Foundation Server

PowerCommands for Visual Studio 2010 1.0 A set of power commands for Visual Studio 2010

.NET Reflector Visual Studio add-in that integrates .NET Reflector into Visual Studio to allow you to seamlessly debug into third-party code and assemblies, even if you don't have the source code for them. Visit www.red-gate.com for more information. Copyright (c) 2009-2010 Red Gate Software Inc.

asked Mar 18 '11 at 08:02

cremor's gravatar image

cremor
1308

Can someone help me please?

(Mar 28 '11 at 06:29) cremor

Hmm, not happening for me. Seems to be jumping to the right point. Can you give a specific example?

(Mar 28 '11 at 09:52) ecodcode

The class Exception, the method Application.Run(), the property DirectoryEntry.NativeObject, a method from a non .NET Framework assembly, ...

For all of these (and everything else I tried) Reflector is opened, the correct assembly is selected (and loaded if needed), but no type/member is selected.

(Mar 28 '11 at 10:01) cremor

The bug is fixed in 7.5.1.13, thanks!

answered Feb 27 at 06:41

cremor's gravatar image

cremor
1308

Thanks for giving us access to the reproduction of the bug.

(Feb 27 at 08:17) Clive ♦♦

Try opening Reflector in Process Explorer after Reflector launches from Visual Studio and have a look at the "Command line" box. If the add-in worked correctly, the member to open on will appear as an argument. If this looks correct, then the problem would be in the Reflector .exe itself.

For example I get this command line when I tell the add-in to open a constructor in Reflector:

"C:Program FilesRed Gate.NET Reflector 7Reflector.exe" /share /select:"code://locatedAssembly:C:WindowsassemblyGAC_MSILSystem.DirectoryServices2.0.0.0__b03f5f7f11d50a3aSystem.DirectoryServices.dll/System.DirectoryServices.DirectorySearcher"

answered Mar 28 '11 at 11:27

Dijboutie's gravatar image

Dijboutie
1162

I'm getting the follwing args for the same constructor:

"C:Program FilesRed Gate.NET Reflector 7Reflector.exe" /share /select:"code://locatedAssembly:C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.DirectoryServicesv4.0_4.0.0.0__b03f5f7f11d50a3aSystem.DirectoryServices.dll/System.DirectoryServices%20{.DirectorySearcher/.ctor()"

Seems like that "%20{" shouldn't be there.

(Mar 28 '11 at 12:40) cremor

It shouldn't. We'll have a look at reproducing it here. If you have time, could you try turning off the other addins to see if there is any interaction going on?

(Mar 29 '11 at 09:19) Clive ♦♦

Don't forget to try re-integrating the reflector add-in.

(Mar 29 '11 at 10:52) ecodcode

Problem still occurs after re-integrating the Reflector Add-in and disabling the PowerCommands for Visual Studio.

I can't find a way to disable the other Add-ins (StyleCop, TFS Power Tools, Code Contracts). If I should test it with them deinstalled, please say so.

(Mar 29 '11 at 13:14) cremor

I've got a visual studio environment which is very similar to yours (and reflector working normally). All I'm missing is

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

and

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

so you should be able to avoid uninstalling/disabling any of your other addins.

What OS are you running on?

(Mar 29 '11 at 14:14) nick_maidment ♦♦

I'm using Windows 7 Enterprise x64

The two paragraphs you mentioned are part of "Microsoft Visual Studio 2010 Code Analysis Spell Checker". This is a part of Visual Studio and I don't think that it can be uninstalled.

(Mar 29 '11 at 14:57) cremor
showing 5 of 6 show all

This has just happened to me and it seems to be related to the Tools/Options/Browser/Show Inherited Members setting.

If this option is checked, then I get the malformed names in the assembly list; if it is unchecked then everything is ok.

Please can you check that this option is unchecked in the standalone version of Reflector?

Thanks (I've logged that as RP-2001)

answered Nov 04 '11 at 13:49

Clive's gravatar image

Clive ♦♦
1.1k5

edited Nov 04 '11 at 15:23

No, that's not the cause for me (using EAP 7.5.0.90). That option was never checked. I just tried it in checked and unchecked state but no changes in behaviour or command line.

(Nov 07 '11 at 08:29) cremor

Looks like this was a problem parsing the code links, we're working on a patch for this now.

(Feb 16 at 09:00) nick_maidment ♦♦

Sorry, my mistake. This is what I have set up, we'll do a side-by side comparison. So far, the only differences I can see are the Microsoft Visual C++ 2010 runtime is installed in my environment and slightly different version numbers on the Microsoft components:

Microsoft Visual Studio 2010 Version 10.0.30319.1 RTMRel Microsoft .NET Framework Version 4.0.30319 RTMRel

Installed Version: Premium

Microsoft Office Developer Tools 01021-532-2002102-70900 Microsoft Office Developer Tools

Microsoft Visual Basic 2010 01021-532-2002102-70900 Microsoft Visual Basic 2010

Microsoft Visual C# 2010 01021-532-2002102-70900 Microsoft Visual C# 2010

Microsoft Visual C++ 2010 01021-532-2002102-70900 Microsoft Visual C++ 2010

Microsoft Visual F# 2010 01021-532-2002102-70900 Microsoft Visual F# 2010

Microsoft Visual Studio 2010 Code Analysis Spell Checker 01021-532-2002102-70900 Microsoft Visual Studio 2010 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Microsoft Visual Studio 2010 Team Explorer 01021-532-2002102-70900 Microsoft Visual Studio 2010 Team Explorer

Microsoft Visual Web Developer 2010 01021-532-2002102-70900 Microsoft Visual Web Developer 2010

Crystal Reports Templates for Microsoft Visual Studio 2010
Crystal Reports Templates for Microsoft Visual Studio 2010

Microsoft StyleCop 4.4 Provides source code style and consistency tools.

Microsoft Team Foundation Server 2010 Power Tools 3.2.40301.0 Power Tools that extend the Team Foundation Server integration with Visual Studio.

Microsoft Visual Studio 2010 SharePoint Developer Tools 10.0.30319 Microsoft Visual Studio 2010 SharePoint Developer Tools

Microsoft Visual Studio Process Editor 1.0 Process Editor for Microsoft Visual Studio Team Foundation Server

PowerCommands for Visual Studio 2010 1.0 A set of power commands for Visual Studio 2010

.NET Reflector Visual Studio add-in that integrates .NET Reflector into Visual Studio to allow you to seamlessly debug into third-party code and assemblies, even if you don't have the source code for them. Visit www.red-gate.com for more information. Copyright (c) 2009-2010 Red Gate Software Inc.

answered Mar 29 '11 at 15:27

nick_maidment's gravatar image

nick_maidment ♦♦
1946

I am having the exact same problem. Was the solution to this problem ever found. Process explorer command Line:

"C:DownloadsReflector7_0_1_1Reflector.exe" /share /select:"code://locatedAssembly:C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.Windows.Formsv4.0_4.0.0.0__b77a5c561934e089System.Windows.Forms.dll/System.Windows.Forms%20{.Form/property:AutoScroll"

answered Apr 25 '11 at 23:49

Ben's gravatar image

Ben
1

I don't think so, we could work out why the "%20" was being added. Any more information you can give us would be greatly appreciated.

(Apr 26 '11 at 09:36) nick_maidment ♦♦

I'm also still having the same problem with Reflector 7.1 and VS2010 SP1. Example command line that still contains the error:

"C:Program FilesReflectorReflector.exe" /share /select:"code://locatedAssembly:C:WindowsMicrosoft.NetassemblyGAC_32mscorlibv4.0_4.0.0.0__b77a5c561934e089mscorlib.dll/System%20{.ArgumentNullException/.ctor(String)"

Is there any way I can help to get this fixed?

answered May 12 '11 at 09:25

cremor's gravatar image

cremor
1308

edited May 12 '11 at 09:25

Just trying to follow up any leads we can on this. Just to clarify, are you trying this from inside visual studio?

If possible, please could you send us your MethodLocations.db file found under C:Users<username>AppDataLocalRed Gate.NET Reflector 7Cache to info @ reflector.net

(May 12 '11 at 11:26) nick_maidment ♦♦

Yes, this is by right clicking the constructor and using "Open in .NET Reflector". Will send the mail in a second.

(May 12 '11 at 13:10) cremor

@nick_maidment Did the file help in any way?

And because you mentioned it in the other thread, could this be a bug because of a non-english Windows?

(May 23 '11 at 09:52) cremor

@cremor No sadly not, Clive and I looked it over but our theory didn't match up with what we saw.

(May 23 '11 at 12:52) nick_maidment ♦♦

I am also having problems with the VS2010 integration. I just installed v7.5 EA Build 3. I closed down all instances of VS2010 and copied the files into my Reflector folder under Program Files. I ran Reflector. I turned on Visual Studio 2010 integration (it was unchecked now for some reason).

I ran VS2010. I drilled into ListView, right-clicked on the class name and clicked Open in .NET Reflector. Reflector now runs, but it doesn't navigate to the type. I looked in Process Explorer. Reflector.exe is present underneath devenv.exe, but there is no command line for it at all (nothing in tooltip, and in the Image tab of the Properties dialog for Reflector.exe there is no Command-Line (and Path has "n/a").

David

answered Dec 05 '11 at 16:57

xiard's gravatar image

xiard
1

Hi David,

Thanks for your post. Is there anything special about your set up or the class you are trying to open in Reflector? Does this happen on any class?

We understand a few of the conditions that cause this to happen but we still haven't got to the bottom of this issue across the board. We'd really appreciate any extra information you can provide.

Greg

answered Dec 06 '11 at 13:28

GregT's gravatar image

GregT ♦♦
1867

David - Could send us a config file to info@reflector.net?

answered Dec 07 '11 at 10:47

GregT's gravatar image

GregT ♦♦
1867

Your answer
toggle preview

Follow this question


By Email:

Once you sign in you will be able to subscribe for any updates here


By RSS:

Answers

Answers and Comments

Formatting your answer

  • *Italic*
  • **Bold**
  • ***Bold Italic***
  • Link: [text](http://url.com/ "title")
  • Paragraph: Two line breaks
  • Bulleted list: Paragraph then start line with *
  • Numbered list: Paragraph then start line with 1.
  • Blockquote: Paragraph then start with with >
  • Basic HTML tags are also supported

Asked: Mar 18 '11 at 08:02

Seen: 1,903 times

Last updated: Feb 27 at 08:17

 

Tags:

×24
×20