Fix for 'missing admin menu' problem.

Oct 11, 2012 at 6:29 AM

Hi. been trying to get this module working on an orchard 1.5.1 site.

I've been using your dev branch.

Had a few problems, particularly with the Admin menu not showing up.

Took a while to make it reproducible -->

If I use the module from my dev code it all works well.

If I deploy it to a test site, no admin menu.

Turned out it works for pre-built assemblies; but fails with dynamic-build.

Traced it down: The ASP.NET Builder fails with duplicate SecurityRules attribute.

For me, removing the SecurityRules attribute from AssemblyInfo.cs and all seams to work.