Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: morriss on February 28, 2007, 03:08:29 am
-
Hi
I have used the import binary module option to import various .net dlls to my project.
This works fine for classes and interfaces, but does not seem to import any structs (eg System.DateTime).
Does anyone have any idea how to import .net structs into my project?
Thanks
-
Which build of EA are you using?
A few builds ago I think I noticed something about improving the handling of .Net Structs. Perhaps they don't have everything working yet, or something slipped back to a prior state.
If you don't get an answer in a day or so, you should report this as a bug to Sparx. Use the Support link at the top of the forum page, then follow the link in the left side menu. Or, from the EA main menu choose Help | On-line Resources | Bug Report Page.
-
I am using build 8.04, so the most recent one I think.
-
Handling of structs and events to the reflection importer for .Net is scheduled for our next major release. Until then you could try using the disassembly importer for .Net instead.
-
Thanks, I have used the disassembly importer and now have structs available.
One question though...is there any drawback from using the disassembly importer rather than the default of 'Let EA decide'?
-
No, other than issues like the one in question here. Search the forum for a (little) bit of discussion of cases where it might make a difference. For what you are doing they are just two different, but valid, approaches.