views:

453

answers:

2

When I hit F12 (or right-click and select Go To Definition) in Visual Studio on code I don't have the source for, it should bring up a generated metadata file. (Very similar to the Code Definition Window)

This doesn't work when ReSharper (R#) is installed. After R# is installed, the Object Browser opens instead.

I've had this problem on several fresh installed computers, and at least since R# 3. (You'll see this works again when you disable R# and restart VS)

How can I get to the metadataview now?

+6  A: 

Select the object name and press Ctrl\, CtrlD.

This is a reported bug fixed in version 5.0.

Alex Angas
This brings up the Code Definition Window (CTRL+|, CTRL+D on my machine). Not really the view I was looking for, but close...
Arjan Einbu
Just discovered some strange behaviour: When pressing F12 inside the Code Definition Window, the metadata view appears. And clicking again in a metadata view opens up yet another metadata view as it is supposed to. So with a detour I'm able to get the functionality I need. Problem solved. Thanks!
Arjan Einbu
No problem, thanks for leaving your F12 trick!
Alex Angas
+1  A: 

You can change ReSharper's F12 action as described in this blog post: http://blog.aheil.de/2009/12/27/ReSharper50CanVisualStudio2010MetadataView.aspx

cmour
I know! Great tip! And the bug in the opening question is fixed as wel in v5!
Arjan Einbu