I have an extension the i pretend to compile with both targets Cloud/OnPrem.
I've set the scope of some methods with [Scope('OnPrem')] then i'm invoking them in the extensions code.
It all works fine if i set the extension target to OnPrem, but if i set the extension target to Cloud i get the error AL296 - the type or method cannot be used for 'Cloud' development.
I wanted to manage a single extension. Am i missing something?
What's the best aproach to these situations?
Thanks!
Regards
Bruno M.