I have a solution containing four VB.NET projects, all targeting either .NET 4 or .NET 4 Client Profile. One is a WPF desktop application and the other three are class libraries. One of those is data access using EntityFramework connecting to MS SQL Server.
A couple of months ago, to test out a possible solution to a problem, we added a reference to System.Data.OracleClient. (We were doing something with reflection and needed to add a new DLL, so we picked something random.) After finishing what we were doing, we removed the OracleClient from the project and moved forward.
A bit later, I was debugging something and looking at the Output window and noticed that System.Data.OracleClient.dll is being loaded when a particular window is displayed. Similarly, System.Web.dll is loaded.
None of the projects have a reference to either OracleClient or Web. Running dir -r -i * | Select-String "Oracle" in PowerShell returns no results.
As far as I can tell, neither of those DLLs should be loading. Ideas?
System.Data.OracleClient.dllis missing, neither file loads but the application runs fine. Change the name back, rerun, and they both get loaded again.