Find assembly for a given type – in AX 7

Five years ago, I wrote a blog post called Assembly containing a given type, demonstrating how to find the assembly where a given type is defined. I needed the same thing in AX 7, but instead of using the same code, I decided to utilize the fact that I can now easily write parts of …

Continue reading ‘Find assembly for a given type – in AX 7’ »

Assembly containing a given type

When exploring Dynamics AX 2012, I sometimes meet situations when I would like to know more about some CLR type (particularly to decompile it in ILSpy) and I need to know in which assembly it is contained. It can be solved by the following X++ method, for instance: public static void showContainingAssembly(str _typeName) { System.AppDomain …

Continue reading ‘Assembly containing a given type’ »