Dear Sir/Madam,
we are developing a WPF application which runs in a sandbox. We are using syncfusion libraries and currently we are facing a problem of not being able to invoke any library from the sandbox. The application throws exception when we try to invoke any syncfusion library:
The demand failed due to the code access security information captured during the creation of an anonymously hosted dynamic method. In order for this operation to succeed, ensure that the demand would have succeeded at the time the method was created. See http://go.microsoft.com/fwlink/?LinkId=288746 for more information.
We think this might be because we are trying to invoke the libraries from the sandbox which is usually limiting the access permissions granted to code. Also, we think the syncfusion libraries we have do not allow invoking from the partially trusted code(which might be the case with our application since it is running in a sandbox), like libraries containing a AllowPartiallyTrustedCallers attribute.
What we need is a mechanism to invoke libraries from the application running in a sandbox. Any advice or a check that we should perform before getting help from your side will be performed ASAP.
The syncfusion license we have was purchased for this application specially and if we can not invoke it from the sandbox our license wil become useless.
We would very very much appreciate your help on this matter.
Any workaround for this issue would be great!
Please tell me if you need any more details on the issue we are dealing with.
Thank you very much!
Danilo Vulovic