I try to use the below code to run static method in X++ in CIL but I face the error shown below where Request for the permission of type 'XppILExecutePermission' is failed although the permission is asserted . how can I solve this issue ?
*This post is locked for comments