I already have an WPF app with bunch of dll build on Framework 4. This app is calling some Addin Modules made in Framework 4, but I do need one now build on .Net6.
Is it OK or would it give me trouble? I don't really want to rebuilt the entire WPF application since only one dll module needs to be upgrading.
The code work when it is on my Dev but not on production and I did install Net 6 runtime.
Message: Value cannot be null.
Parameter name: type
Source: mscorlib
Trace: at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, Object[] args)
at BASIC.BASIC_MonitoringProcess.LoadModules()
Base: System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, Object[] args)
at BASIC.BASIC_MonitoringProcess.LoadModules()