[Mono-bugs] [Bug 324427] System.ComponentModel.Design.RuntimeLicenseContext does not load licenses from resource

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 21 11:45:47 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=324427

User ms at vistadb.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=324427#c9





--- Comment #9 from Michael Swain <ms at vistadb.net>  2009-10-21 09:45:45 MDT ---
Carlo,

1) I was just trying to be forward thinking, I wasn't sure how mono implemented
medium trust.

2) Yes, in MSNET the reason you specify the resource assembly is because you
want the licensing system to look there for a license. I think passing the
resourceAssembly through to LoadKeys and having that function use it if
provided, then falling back to EntryAssembly and searching would handle most
situations. At least it would handle my situation, as I already take that
approach. 

Walking all assemblies is what the MS code does when the resourceAssembly and
EntryAssemblies are null, this handles the compiled webapplication scenario
with MS, since there is no App_Licneses and no entry assembly, however that is
under IIS, I don't know if under mono it sets the EntryAssembly to the correct
assembly.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list