I am trying to migrate the WPF App with SQLite DB to net 5 and encounter the following problem on Runtime. The app complies and the resources and settings are migrated according to the documentation: https://learn.microsoft.com/en-us/dotnet/desktop/winforms/migration/?view=netdesktop-6.0
The exception is in a subclass of DbContext: System.TypeInitializationException: 'The type initializer for 'System.Data.Entity.Internal.AppConfig' threw an exception.'
- System.Configuration.ConfigurationErrorsException: 'Configuration system failed to initialize'
- ConfigurationErrorsException: Unrecognized configuration section system.web.
I think it is something related to the Resources or Settings of the connection string.