How to import classes from .NET assemblies

This tutorial shows how to access and use reverse engineering.

1) Create new project or open the existing one

2) Click on menu item Tools > Reverse Engineering > .NET Framework

3) In displayed dialog click on button Add

4) Select the file (exe or dll) you want to import

5) Click on button Next

6) Choose namespaces you want to import

7) Click on button Import

8) Program generates class and package diagrams

Comments

Dilshod 10 July 2013 21:58:24

Reverse Engineering

I couldn't find this "Click on menu item Tools > Reverse Engineering > .NET Framework". I have that Tools menu, but not Reverse Engineering. I have 6.20.4908.40804 version. Is it moved to somewhere else?

Thanks for the help!

Dusan Rodina - softwareideas.net 10 July 2013 22:15:11

RE: Reverse Engineering

From version 6, Software Ideas Modeler is available in 3 editions - Standard, Professional and Ultimate

Reverse Engineering is not available in Standard edition, only in two higher ones (Professional and Ultimate).

Areej 8 April 2018 16:48:52

generate uml diagrams

I want to generate UML diagrams like activity, use case, and others from c# source code, but I couldn't do that in trial version I have

software Ideas Modeler 11.52 version

can I know why?

Dusan Rodina - softwareideas.net 9 April 2018 14:11:27

RE: generate uml diagrams

Hello,

Currently, Software Ideas Modeler supports generation of class diagrams, package diagrams and entity relationship. Diagrams can be generated from database, from source code (various languages) or .NET assembly. Other diagram types can be drawn only manually.

Areej 9 April 2018 19:30:36

RE: RE: generate uml diagrams

thanks for responding!

Areej 9 April 2018 19:46:03

RE: RE: generate uml diagrams

I tried to generate Package Diagram also it gives class diagram I do not know

maybe I miss something?

richdev 5 March 2023 20:29:58

System Architect is more mature. this does not work for Python reverse engineering

System Architect is more mature. this does not work for Python reverse engineering. I will stick with System Architect.

This tool does not work for Python package reverse engineering and modeling.

This product needs a standard HELP menu too. Please add this requirement.

Jordi 22 December 2010 22:48:44

Reverse engineering

How can I convert C++ text files (*.h *.cpp) to classes? It's possible?

Dusan Rodina - softwareideas.net 22 December 2010 23:06:53

RE: Reverse engineering

It is not possible in the current version, but it will be very likely part of the version 5.

deafie 15 February 2011 12:35:08

RE: RE: Reverse engineering

Two questions:

Will you also allow in .NET like C# (*.cs) and VB (*.vb) classes along with their methods from the source code?

From those, will you also be able to generate other diagrams like sequence (from what the methods call other methods themselves) and activity diagrams?

I'm very interested to see if you're able to do that with your next version. It would definitely be helpful to trace out threading issues

Dusan Rodina - softwareideas.net 15 February 2011 19:57:27

RE: RE: RE: Reverse engineering

Source code processing of C# and VB will be supported.

It is still questionable whether the next version will be able to generate sequence and activity diagrams. In any case, I added it to my list of requirements.

Roger 17 November 2010 13:50:48

Im guessing that the same is true for SQL2008 tables?

Dusan Rodina - softwareideas.net 17 November 2010 13:59:22

RE:

You can import your tables from database using menu Tools>Reverse Engineering>Database. MS SQL Server 2008 as source is supported.

Dmitry 27 May 2011 1:21:23

RE: RE:

Do you planing include in support othes DBMS, for example Oracle, PG, MySQL or Hierahic DB?

If YES, when you planing do it?

Dusan Rodina - softwareideas.net 29 May 2011 16:19:57

RE: RE: RE:

I'll try to include the support for them in the next major version 5.

Dmitry 29 May 2011 23:42:26

RE: RE: RE: RE:

Thank you very much. I'm don't hope that this possible as soon.

Roger 17 November 2010 16:37:15

SQL2008

Hmmm. must be something I'm doing wrong then. It doesn't appear to work for me.

System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

at System.ThrowHelper.ThrowKeyNotFoundException()

at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

at SoftwareIdeasModeler.Core.Importing.Database.DiagramCreator.CreateErdDiagram(Model model)

at SoftwareIdeasModeler.MainForm.databaseToolStripMenuItem_Click(Object sender, EventArgs e)

at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)

at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)

at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)

at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)

at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

at System.Windows.Forms.ToolStrip.WndProc(Message& m)

at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Dusan Rodina - softwareideas.net 17 November 2010 16:44:38

RE: SQL2008

Thanks for details, I will check it out.

EDIT: Version 4.80 solved this problem (at least for me).

Scott 15 November 2010 21:17:19

doesn't work

This would be great if it actually worked, but it doesn't ?

Frun 28 February 2011 9:33:17

RE: doesn't work

I've probably the same issue. The assembly is .NET 2.0, but the "Import Object Model" window has only the root element of the tree. No namespaces or classes ale loaded. I find the problem is in Debug/Release compilation. The Release version loads only the namespace, Debug version loads nothing.

Dusan Rodina - softwareideas.net 1 March 2011 0:18:09

RE: RE: doesn't work

I will do some other tests and try to find out where is the problem. It will be fixed as soon as possible.

Dusan Rodina - softwareideas.net 15 November 2010 21:38:19

RE: doesn't work

It doesn't work with .NET 4.0 assemblies, because of binary incompatibility of .NET 4.0 with previous versions of .NET. I will try to bring support for .NET 4.0 in the next major version of Software Ideas Modeler.

Aurino 24 March 2011 23:36:59

RE: RE: doesn't work

Do you know when .NET 4.0 assemblies will be supported? I'm using the last version and it doesn't work yet.

Dusan Rodina - softwareideas.net 24 March 2011 23:48:46

RE: RE: RE: doesn't work

Very likely in version 5.

New Comment

Comment