I want to add a Feature event receiver, that add a webpart to a page, I followed the steps in this link
But when I tried to deploy it , I hade the following error :
Error occurred in deployment step 'Activate Features': Assemblies that implement ASP.NET Web Parts and are installed into a partially trusted location, such as the bin directory, must be compiled with the AllowPartiallyTrustedCallersAttribute set for import to succeed.
How can I resolve this issue?
Answer Your Question
button below