I receive the following error at step 25 while deploying package via LCS. How can I fix this please? I tried several ways to enable the loadFromRemoteSources but it didn't work.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AggregateException:
One or more errors occurred. ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the
assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous.
If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See go.microsoft.com/.../ for more information.
I tried like here but still got error: How to: Solve Net Framework CAS issue during db sync - A Developers Dynamics AX Blog (google.com)