Oxygene to c# for using ReSharper

Hi,

i’m searching for a way to clean up my oxygene code (dead code elemination).

Using dotPeek doesn’t lead to useful results.

Do you have any suggestions ?

(Something like the opposite of Oxydizer ?)

Thanks Andreas

Hello Andreas,

Some years ago, I used NDepend (Improve your .NET code quality with NDepend) to clean up Oxygene code. It does the job, but it has (had) a steep learning curve.

Have a nice day

Does it work on IL level? Pretty much any tool that does should work with Oxygene.

We do not currently support converting Oxygene code to C# (or other languages) with Oxidizer. It hasn’t been a priority because – to be quite frank – the main use case for such a tool would be people moving away from Elements ;).

Hello Marc,

Yes, it works on IL level… at least when I used it in 2020.

The best thing to do is to try the 14-day trial version.

1 Like

:+1:

Here: Getting Started with NDepend on Windows

Select one of the options:

  • Analyze Visual Studio solutions and Visual Studio projects

  • Analyze .NET assemblies in folder

  • Analyze a set of .NET assemblies

Thank you.

I will investigate on it.

Happy Easter

Btw: i would not go (back) to c#. I love Oxygene :slight_smile:

1 Like

Happy to hear that! Me too :hugs:.

1 Like

Hello,

i’ve tried NDepend a little bit. Unfortunately NDepend complains about invalid PDB files. :frowning:

Do you habe any idea ? For debugging this works fine so far…

Any details woudk be appreciated, if they really are invalid in some form, we’d like to fix that.

I have no clue whats causing that…

Have you tried to contact NDepend?

No, not yet.

Portable Pdb files seems to be Ok btw…

MS cvdump produces something linke this:

*** FPO
DBIOpenDbg(, dbgtypeFPO,) failed.
DBIOpenDbg(, dbgtypeNewFPO,) failed.
*** TokenMap
DBIOpenDbg(, dbgtypeTokenRidMap,) failed.
*** FIXUPS
DBIOpenDbg(, dbgtypeFixup,) failed.
*** OMAP FROM SRC
DBIOpenDbg(, dbgtypeOmapFromSrc,) failed.
*** OMAP TO SRC
DBIOpenDbg(, dbgtypeOmapToSrc,) failed.
*** PDATA/XDATA
DBIOpenDbg(, dbgtypePdata,) failed.
*** ORIGINAL SECTION HEADERS
DBIOpenDbg(, dbgtypeSectionHdrOrig,) failed.

Maybe this can help…