.NET Reflector Visual Studio Extension is decompiling to c# when my current language is VB
jhatton777
Posts: 2 New member
.NET Reflector Visual Studio Extension is decompiling to c# when my current language is VB. When I press F12 or "Go To Definition" the VB definition displays briefly, then I land at a c# file. Reflector has decompiled to c# in my VB project. I cannot find a setting in Visual Studio. My desktop .NET Reflector is set to VB.
Tagged:
Best Answers
-
Jessica R Posts: 1,319 Rose Gold 4Thanks for your post, @jhatton777!
This appears to be happening for me as well. Please bear with me while I look into this.
-
Jessica R Posts: 1,319 Rose Gold 4Hi @jhatton777!
My apologies as I hadn't realized before that this is usual behavior of GoToDefinition. With that, we've gone ahead and logged a feature request for Go To Definition to automatically decompile to the language of the current solution, logged with reference RP-4209.
(I believe the VB definition that you see pop up is the one from Visual Studio, which appears shortly before the Reflector override kicks in.)
A possible workaround for now could be to generate the pdb for the assembly you're decompiling, with VB as the target language. GoToDefinition should then use the VB files for the decompilation. Hope that may help!
Answers
Jessica Ramos | Product Support Engineer | Redgate Software
Have you visited our Help Center?