How To Update a Class Or Assembly Reference in C/AL And Retain Event Trigger Code

When you reference a .NET class that exposes events, and you switch on the WithEvents property, C/SIDE creates the event triggers for you. If you later want to update the reference to the .NET class, for whatever reason (like, there is a newer version of the assembly), updating the reference will actually delete the event triggers with all the code in them.

Bron : Vjeko.com
Lees meer…