You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Null reference exception calling XmlSerialiser (works in net framework) #36181
I have been trying to move some code from framework to core 3.1 and I'm seeing a null reference exception calling new XmlSerialiser(Type) on net core 3.1 that does not occur on net framework. The code supports many legacy projects are therefore it compiles and runs in net frameworks from 4.5 - 4.8.
I have isolated the problem in the following code example.
Activity