Hello!
I decided to combine MultiPoint and Semblio SDK's in one project.
I want to have an activity that supports multiple mouses.
In order to do this I have created activity with MultiPoint controls (textbox and button).
I compiled activity, than I packed it into semblio file with standard sample packager (which comes with Semblio SDK).
After that I tried to play my activity with standard sample player.
At the beginning there were 2 mouses on the screen, but when activity tried to load MultiPoint controls I got exception:
System.Security.SecurityException: "System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
I analyzed stack trace and I got information that were an error with demanding such permission:
<PermissionSet class="System.Security.PermissionSet"version="1"><IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"version="1"Flags="SerializationFormatter"/></PermissionSet>
When I remove multipoint controls from activity this exception disappears.
So as it seems to me problem with partial trust of activity.
Can you advise me what to do?
Thanks for sharing this with us. We'll investigate and report back.
Semblio requires its content to be partial trust. Multipoint SDK requires full trust to run.
Terms of Use | Code of Conduct | Privacy Statement | Trademarks | © Microsoft 2010