I have a web page which contains a C#/ VB.Net embedded winform (.dll). If i set the code group membership condition to 'All Code'/ 'Zone - Local Intranet' and the permission set to 'Full Trust' then all works fine. As this is not ideal, I have tried using the membership 'stong name' (.snk) and 'Publisher' (Digital Sig), but both have failed.
With Strong Name i have created a key using:
sn -k MyKey.snk
... which i have added to my solution (Signing Tab in VS) and have then added to the assembly the attribute AssemblyKeyFileAttribute.
I am using .Net Framework 2.0.
If you have any ideal what I have missed or have a better alternative could you please let me know. Thank you in advance.