Semblio SDK and MultiPoint SDK

rated by 0 users
This post has 2 Replies | 3 Followers

Top 50 Contributor
Points 20
chiffa Posted: Thu, Mar 19 2009 01:48 AM

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?

Top 25 Contributor
Male
Points 55
brucemac replied on Tue, Mar 24 2009 10:10 AM

Thanks for sharing this with us.  We'll investigate and report back.

  • | Post Points: 20
Top 50 Contributor
Points 5
JayBeavers replied on Thu, Dec 10 2009 11:03 AM

Semblio requires its content to be partial trust.  Multipoint SDK requires full trust to run.

  • | Post Points: 5
Page 1 of 1 (3 items) | RSS