Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow run in sandbox #325

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Allow run in sandbox #325

wants to merge 1 commit into from

Conversation

rstefko
Copy link

@rstefko rstefko commented Jan 26, 2024

It fixes issues like: 'Intuit.Ipp.Exception.IdsException.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.

Can be seen in your forums too:
https://help.developer.intuit.com/s/question/0D5G000004Dk6wnKAB/error-inheritance-security-rules-violated-while-overriding-member-changed-trust-level-in-config-now-getting-please-specify-a-valid-directory-path-error-help
https://help.developer.intuit.com/s/question/0D5G000004Dk60PKAR/issue-deploying-ipp-net-sdk-v3

The problem is that starting .NET 4.0 GetObjectData is marked as SecurityCritical, but when assembly is in Sandbox mode it is SecurityTransparent, so the code cannot be executed.

…ectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant