x

Please note - no new posts to these forums

We're no longer taking new posts on these forums, only updates to existing posts. A new forum can be found here, and documentation for all versions of Reflector can be found here.

Follow this question

By Email:

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

By RSS:

Topics:

x9

asked: Mar 15, 2011 at 03:09 PM

Seen: 3743 times

Last Updated: Mar 15, 2011 at 03:09 PM

It appears as though the new .Net Reflector version doesn't support the BAML addin...it fails trying to load. Since there is no way to get a older version of .net relector (even for paying customers) I am left with a tool that isn't doing what I need it to. Can someone at redgate explain why Reflector.BamlViewer.dll no longer works with .net reflector?
more ▼
asked Mar 15, 2011 at 03:09 PM whknight 1 whknight gravatar image
(comments are locked)
10|600 characters needed characters left

Alternatively, you can:

  1. Download the latest source code;
  2. Copy Reflector.exe into the "Build" directory;
  3. Open the project in Visual Studio;
  4. Use the configuration manager to change the platform from ".NET 1.0" to "Any CPU";
  5. Change the target framework to .NET 3.5;
  6. Recompile the add-in;

You'll need to add a reference to System.Xml to the VulcanLanguage project. All of the other projects will compile without changes.

Step 5 is needed because Reflector is now using WPF, which isn't available from a .NET 2.0 project.

more ▼

answered Mar 15, 2011 at 03:51 PM

RichardD gravatar image

RichardD
106 7 13 25

Alexander Morou gravatar image Alexander Morou Jul 03, 2011 at 03:39 PM
This is probably the safest bet. It's less of a hack and more of a manual update method. In building a new version of the library you ensure that it at least compiles and verifies from a compiler standpoint. Whether it runs properly or not depends on how well the code base was maintained to the current object model. This is also assuming redgate hasn't gone and fixed it: http://www.red-gate.com/MessageBoard/viewtopic.php?p=49466#49466
(comments are locked)
10|600 characters needed characters left

Here is the trick to convert all previous plugins to Reflector 7.

Use Reflexil 1.2 to patch assembly Reference to Reflector.exe. I mean don't update Reflector.exe (which will fails as it is protected) but change the plugin entry point references by increasing the version number from 5.0.0.0 to 7.0.0.0

See: i've patched Graph Addin (which only works with v5) to show you:

It's due to the modification of the Reflector assembly version (which was untouched since v5). I think it's safe to do as the plugin object model was not updated.

Important: quit Reflector before trying to re-add the assembly as a plugin (because it can be in 'cache')

Edit: I've updated the BamlViewer plugin for you, you can download it here:

Regards

Edit: I've made a #Reflector Plugin Converter [http://bit.ly/eTPL3D][1]

[1]: http://bit.ly/eTPL3D "Reflector plugin converter"

more ▼

answered Mar 15, 2011 at 03:21 PM

reflexil gravatar image

reflexil
120 6 10 22

(comments are locked)
10|600 characters needed characters left
Thanks to both....I appreciate your help
more ▼

answered Mar 15, 2011 at 04:45 PM

whknight gravatar image

whknight
1 1 2 2

(comments are locked)
10|600 characters needed characters left

I've just put out an EA build of .NET Reflector 7.2 (build 134) that will load and work with all add-ins compiled against .NET Reflector 5.x and later - when I say work, I mean it'll work with the add-ins as well as it ever did, so if there are bugs in them, they'll still be there, etc.

You can get this build from the bottom of the homepage at http://www.reflector.net/.

More details here: http://www.reflector.net/2011/07/supporting-add-ins-across-multiple-versions-of-reflector/.

HTH,

Bart

more ▼

answered Jul 05, 2011 at 03:36 PM

Bart gravatar image

Bart ♦♦
604 3 10

(comments are locked)
10|600 characters needed characters left

You might also be interested in the new .NET Reflector 7.3 early access build, which includes BAML to XAML decompilation out of the box: http://www.reflector.net/2011/07/net-reflector-7-2-has-been-released-and-a-net-reflector-7-3-ea-build-including-baml-decompilation-is-now-available/.

Thanks,

Bart

more ▼

answered Jul 08, 2011 at 03:34 PM

Bart gravatar image

Bart ♦♦
604 3 10

(comments are locked)
10|600 characters needed characters left
Your answer
osqa.question.ask.tags.preview.show

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.