Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Ribeye on May 04, 2022, 11:54:35 pm

Title: What version of C# for plugin development?
Post by: Ribeye on May 04, 2022, 11:54:35 pm
My C# v7.3 plugins are working fine.

But I need to upgrade to C# 8.0+ (Visual Basic is saying you need this to get interface default methods)

Being new to C# and EA plugin development I dont know:

- will updating the C# version will break my installation?
- what about the new 64bit version - can we use the current DDL files in 64bit EA?
- Presumably a 64bit DDL would not run on a 32bit version of EA?
- Where is the documentation on these issues? Spent 45 min looking with no luck.
Title: Re: What version of C# for plugin development?
Post by: Geert Bellekens on May 05, 2022, 04:35:02 am
- will updating the C# version will break my installation?
No, I don't think so
Quote
- what about the new 64bit version - can we use the current DDL files in 64bit EA?
You can either compile for 64bit (that I got working), or presumably compile for any platform (this not yet)
Quote
- Presumably a 64bit DDL would not run on a 32bit version of EA?
Indeed
Quote
- Where is the documentation on these issues? Spent 45 min looking with no luck.
All there is in in the manual. Start here: https://sparxsystems.com/enterprise_architect_user_guide/16.0/add-ins___scripting/automation_interface.html (https://sparxsystems.com/enterprise_architect_user_guide/16.0/add-ins___scripting/automation_interface.html)

Geert