everybody. I have next issue/problem. I have migrated my project (dll target, not exe) from netfr 4.6 to net6. Everything looks fine, there are almost no code changes. But when I try to use my built dll it could not resolve referenced assemblies: for now only System.Data.SqlClient, but further it may be more (I think).
Here is a message from the AssemblyResolve event handler:
And there is the exception:
Because my folder contains only third-party assemblies (DevExpress) and not SqlClient.dll.
I tried to put there assemblies from nuget packages folder, but there are many tens versions and result was always identical:
Other code (except SqlClient) works, net6 runtime is ok.
Net Framework 4.8 is installed too.
So maybe somebody faced with the same issue and knows how to handle this situation (references resolving).
Thanks in advice.