Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > C# code > C# code > Reverse engineering legacy C# code > Generating C# code > Upgrading ACS Code Generator DLLs to work with the latest version of (C# code)
  
Upgrading ACS Code Generator DLLs to work with the latest version of (C# code)
If you are upgrading Modeler and you want to continue to use the ACS Code Generator DLLs you are using:
You must regenerate those ACS Code Generator DLLs from their associated TDK models using the TDK provided with the latest version of Modeler. Ensure that you generate to a target folder that is empty.
Update the TDK profile in your TDK model before regenerating the ACS Code Generator DLL.
We typically recommend that you use the new ACS Code Generator DLLs provided with the latest version of Modeler, because the new ACS Code Generator DLLs include bug fixes and maintenance changes.
If you have installed Modeler to the default location, the supplied Code Generator DLL resides in the following folder.
For Windows 7 and later operating systems:
C:\Users\<user>\AppData\Roaming\ItsShadow\ScriptDir\C_SharpGen
For 64-bit versions of pre Windows 7 operating systems:
C:\Program Files (x86)\PTC Integrity Modeler\Modeler\System\C_SharpGen
For 32-bit versions of pre Windows 7 operating systems:
C:\Program Files\PTC Integrity Modeler\Modeler\System\C_SharpGen
If you have customized the ACS Code Generator DLLs you are using, you can regenerate those ACS Code Generator DLLs using the TDK provided with the latest version of Modeler, or you can apply your customizations to the new ACS Code Generator DLLs. For information about customizing an ACS Code Generator DLL, click here Overview of generation templates(link works only if TDK is installed).