AddIn to upload and download using Azure

Hi everyone

First of all I like to salut for this site and how is important for us

Well, I developed one addin in C# to work with azure upload and download. When I try on the console everything works fine and as the correct behavior. But when I try to use on Navision 2016 I get each time the following error:

Error: Inheritance security rules violated while overriding member: 'Microsoft.WindowsAzure.Storage.StorageException.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.

I had try using

[assembly: AllowPartiallyTrustedCallers]

[assembly: SecurityRules(SecurityRuleSet.Level1, SkipVerificationInFullTrust = true]

[SecurityCritical]

But anything works.

Can anyone have any idea to solve the problema?

Thanks in advance

Best regards

Related
Recommended