michaelkroes;14269 wrote:We have another build out that fixes a similar error message but has a different cause. This is for netcore WPF projects.
Could you please give that a build a try? If that doesn't work we are going to need that sample project to progress further.
That build doesn't seem to work for me either. Looking at the errors more closely, it seems like it might be tricky to get a sample project together. I suspect it may be related to dynamic loading of assemblies. Most of my tests run fine, but I have an integration test project that uses the database, and Microsoft.Data.SqlClient is throwing the following:
Quote:System.IO.FileNotFoundException: Could not load file or assembly 'System.Configuration.ConfigurationManager, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
I also have a (commercial) third party library that uses some WPF stuff, and it throws the following exception:
Quote:System.IO.FileNotFoundException: Could not load file or assembly 'System.Drawing.Common, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
I'm pretty sure this library only loads System.Drawing.Common dynamically if it needs it, because it can run without it, but with limited functionality.
It's kind of hard to reproduce these two in a test project since one dependency is the database, and the other dependency is a commercial library. Does that point you in the right direction, though?