Bug 19436 - probing/privatePath not considered when handling configSections
Summary: probing/privatePath not considered when handling configSections
Status: NEW
Alias: None
Product: Runtime
Classification: Mono
Component: General (show other bugs)
Version: 3.2.x
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-04-30 17:18 UTC by David Schmitt
Modified: 2014-04-30 17:18 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
example project and binaries (4.02 MB, application/gzip)
2014-04-30 17:18 UTC, David Schmitt
Details

Description David Schmitt 2014-04-30 17:18:50 UTC
Created attachment 6686 [details]
example project and binaries

Steps to reproduce:

  * Create empty application referencing log4net
  * add log4net section to app.config
  * deploy log4net.dll to a subdirectory and add that directory to the privatePath in the app.config

Expected outcome: log4net is found in configured privatePath in all cases

Actual outcome: probing for log4net causes a System.IO.FileNotFoundException: Could not load file or assembly 'log4net, ...' if the log4net section is before the runtime section in the app.config file.



I've added a example project demoing the effect. running the test exe in the ProbingPathTest/bin/Works directory finds the log4net dll, with the config in the ProbingPathTest/bin/Fails the exception is thrown.


I'm testing on $ mono --version
Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug 
	LLVM:          supported, not enabled.
	GC:            sgen

Note You need to log in before you can comment on or make changes to this bug.