[Mono-bugs] [Bug 57612][Maj] New - Mono ignores privatePath in appconfig

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 25 Apr 2004 08:22:54 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gert.driesen@pandora.be.

http://bugzilla.ximian.com/show_bug.cgi?id=57612

--- shadow/57612	2004-04-25 08:22:54.000000000 -0400
+++ shadow/57612.tmp.20580	2004-04-25 08:22:54.000000000 -0400
@@ -0,0 +1,48 @@
+Bug#: 57612
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gert.driesen@pandora.be               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono ignores privatePath in appconfig
+
+Currently Mono does not use the semicolon delimited list of subdirectories 
+(of the application base) in the privatePath attribute of the 
+configuration/runtime/assemblyBinding/probing element to search for 
+assemblies.
+
+eg.
+
+<configuration>
+   <runtime>
+      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+         <probing privatePath="bin;"/>
+      </assemblyBinding>
+   </runtime>
+</configuration>
+
+This will instruct the runtime to not only search the base directory of 
+the AppDomain, but also the bin subdirectory of that base directory for 
+assemblies.  However, at this time, Mono does not do this.
+
+Notes:
+
+- Directories that are not located under the base directory of the 
+appdomain should be silently ignored (atleast, this is what MS.NET does).
+
+- Subdirectories added to privatePath in the configuration file should not 
+be reflected in the AppDomainSetup.PrivateBinPath property, and calling 
+AppDomain.ClearPrivatePath() does not have any effect on the directories 
+added through the configuration file.
+
+I attached a repro for this issue.