When test B is executed after A I am getting following error:
System.ArgumentException : The ADO.NET provider with invariant name ‘Devart.Data.Oracle’ is either not registered in the machine or application config file, or could not be loaded. See the inner exception for details.
----> System.ArgumentException : Unable to find the requested .Net Framework Data Provider. It may not be installed
When test A is executed solo:
The specified metadata path is not valid
which is expected, because “anything” is not a valid metadata.
It looks like app.config is somehow ignored, but this does not affect all my assemblies. I have extracted this one which does not work, I cant find why.
Not sure if this helps you but we use a mixture of Devart and OrmLite but we only tend to use the Devart.Data.Oracle.OracleConnection and Devart.Data.Oracle.OracleCommand classes and OrmLite/Dapper does the rest.
I’m using dotConnect for Oracle with EntityFramework. During normal application run everything is ok.
In test from my first post the problem exists only on mono. I normally create DbContext, but I have changed this to EntityConnection for example purposes.