How can we help you today?

How to add C# libraries in Ecostruxure Automation Expert Software

This knowledgebase article explains users on how to add C# libraries in Ecostruxure Automation Expert Software.

There might be a scenario, where we need to install some C# libraries in order to use some functions in our C# code. For example  "iTextSharp.text" will not be available by default in Ecostruxure Automation Expert and below steps will explain users on how to add this library to Ecostruxure Automation Expert software.

First we need to download the iTextSharp.dll from the Nuget.org website or any trusted website. The dll can be found in the iTextSharp package which we downloaded.

Place the dll file at a location in the PC and verify that it is unblocked from file properties. If the file is blocked, user can see unblock option in file properties, then select unblock, if unblock is not visible, then no action to be done.

  1. Open Ecostruxure Automation Expert Software and open any solution, then click on "Projects" tab and select "Project Library References" under HMI and right click, select Add Reference as shown below. Then select ".Net Assembly browser" and click browse.

x1

2. Then browse the iTextSharp.dll file from the location where we placed and then click Open.

x2

3. User can observe that the iTextSharp.dll has been added and then click OK.

x3

4. User can observe that the iTextSharp library has been added into the HMI Project references and related commands/functions can be used in C# code.

x4

Schneider Electric New Zealand

Explore more
Range:
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range:
  • Products Documentation
  • Software and Firmware
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Centre
  • Where to Buy?
  • Office Locations
  • Schneider Electric, PDL & APC Phone: 0800 741 303
  • Schneider Electric Community
  • Careers
  • Company Profile
  • Report a misconduct
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Privacy Policy
  • Cookie Notice
  • Conditions of Sale
  • Change your cookie settings
  • Preference Centre