Bug When Adding CAS Permissions to WSP Package


Peace be upon you,

When you try to edit the package manifest to add come code access security permissions and then try to deploy you get that error: ‘Property set method not found.’

Here is the resolution for this issue from MS support site:

http://support.microsoft.com/kb/2022463

Also, here is a nice article about how to deploy a Web Part with Code Access Security in Visual Studio 2010 (SP2010):

http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/11/20/deploying-a-web-part-with-code-access-security-in-visual-studio-2010-sp2010.aspx

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s