-
We have a bunch of legacy .net framework code that targets 4.7.2 or 4.8. Because of .Net Compatibility Mode (see https://learn.microsoft.com/en-us/dotnet/core/porting/#net-framework-compatibility-mode), it appears to work with Uno when we build for a windows app (packaged and unpackaged. But when we run it on an android emulator, we see a bunch of these errors:
(note, we tried with different projects as part of our debugging and got the same kinds of errors). Even though we added System.Configuration.ConfigurationManager, created an app.config and made sure to have it copy to the output directory, we were unable to get any values from it in even the most trivial example. Our question is this: Is it possible to use our .NET Framework DLLs (ours and Microsoft's from Nuget like
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Thanks for the question. It's theoretically possible to use those netfx assemblies, but it highly depends on how what they use, and how those are implemented on mobile platforms. While it's not a Uno-specific topic, it would be easier if you were providing a repro sample. Also, your binlog file did not upload. |
Beta Was this translation helpful? Give feedback.
I've got it solved. The steps are this:
Here's are the essential lines of code: