This project has moved. For the latest updates, please go here.

Don't work in sandboxed solution

Jun 3, 2012 at 2:42 PM

Thanks for intresting project.

We want to use Camlex.NET in sundboxed solution. After adding required Attributes to the project (http://msdn.microsoft.com/en-us/library/gg615455.aspx), steel have an error:

"Request for the permission of type 'System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."

Coordinator
Jun 4, 2012 at 6:21 AM

hi alexeybbb,

Camlex uses reflection, so currently this is limitation. The only thing which I can suggest is try to use version 2.4 (http://camlex.codeplex.com/releases/view/42931): this is the latest version without reverse engineering feature. Most of reflection usage is needed in reverse engineering, in the previous versions it was not used frequently as far as I remember. Even if it will still show this error you may downloaded sources of version 2.4 and try to get rid of reflection parts (there are not so many I believe).