https://bugzilla.novell.com/show_bug.cgi?id=409993
Summary: Missing(?) support for <bindingRedirect> in app.config
Product: Mono: Runtime
Version: 1.9.0
Platform: Other
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: misc
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: ---
In local testing here, we're trying to use a app.config file to do a local
bindingRedirect, without having to install a policy file into the GAC.
(it happens to be for mapping the old vte-sharp 2.8.0.0 to the new 0.16.0.0
assembly version, but that's not directly important, I don't think).
We included exactly what should be there, based on the tons of examples found
online, and none seemed to work. This led me to grep through the mono source to
see what *was* supported:
<snip>
mcs/nunit20/nunit-console/nunit-console.exe.config: <bindingRedirect
oldVersion="1.0.5000.0"
mcs/nunit20/nunit-console/nunit-console.exe.config: <bindingRedirect
oldVersion="1.0.5000.0"
mcs/nunit20/nunit-console/nunit-console.exe.config: <bindingRedirect
oldVersion="1.0.5000.0"
mcs/nunit20/nunit-console/nunit-console.exe.config: <bindingRedirect
oldVersion="1.0.5000.0"
mcs/nunit20/nunit-console/nunit-console.exe.config: <bindingRedirect
oldVersion="1.0.5000.0"
mcs/nunit20/nunit-console/nunit-console.exe.config.net_3_5:
<bindingRedirect oldVersion="1.0.5000.0"
mcs/nunit20/nunit-console/nunit-console.exe.config.net_3_5:
<bindingRedirect oldVersion="1.0.5000.0"
mcs/nunit20/nunit-console/nunit-console.exe.config.net_3_5:
<bindingRedirect oldVersion="1.0.5000.0"
mcs/nunit20/nunit-console/nunit-console.exe.config.net_3_5:
<bindingRedirect oldVersion="1.0.5000.0"
mcs/nunit20/nunit-console/nunit-console.exe.config.net_3_5:
<bindingRedirect oldVersion="1.0.5000.0"
mcs/nunit20/nunit-console/nunit-console.exe.config.net_2_0:
<bindingRedirect oldVersion="1.0.5000.0"
mcs/nunit20/nunit-console/nunit-console.exe.config.net_2_0:
<bindingRedirect oldVersion="1.0.5000.0"
mcs/nunit20/nunit-console/nunit-console.exe.config.net_2_0:
<bindingRedirect oldVersion="1.0.5000.0"
mcs/nunit20/nunit-console/nunit-console.exe.config.net_2_0:
<bindingRedirect oldVersion="1.0.5000.0"
mcs/nunit20/nunit-console/nunit-console.exe.config.net_2_0:
<bindingRedirect oldVersion="1.0.5000.0"
mcs/class/FirebirdSql.Data.Firebird/Test/App.config:
<bindingRedirect oldVersion="2.1.4.0" newVersion="2.2.0.0" />
mono/metadata/mono-config.c: } else if (!strcmp (element_name,
"bindingRedirect")) {
</snip>
While ultimately leads me to mono_config_parse_publisher_policy, which is only
called in one spot, in
mono/metadata/assembly.c:mono_assembly_load_publisher_policy
Unfortunately, that seems to very specifically only be loading
"policy.X.Y.config" files sitting in the GAC next to policy DLLs.
Am I missing something? Any plans to support bindingRedirect specified in
app.config files?
--
Configure bugmail: https://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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs