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
XmlSerializer lives in the default ALC of a project.
A type marked as Serializable lives in a custom ALC such as part of a plug-in to the project.
It finds and uses the XmlSerializer in the default ALC and creates the dynamic assembly in the default ALC which then doesn't know anything about the type needing to be serialized because it is in a different ALC.
This requires new APIs in CoreClr which WCF would then need to use to enable specifying where to create the generated dynamic assembly.
Original issue: dotnet/corefx#41286
Port to 3.1.x
The text was updated successfully, but these errors were encountered:
Example Scenario
XmlSerializer lives in the default ALC of a project.
A type marked as Serializable lives in a custom ALC such as part of a plug-in to the project.
It finds and uses the XmlSerializer in the default ALC and creates the dynamic assembly in the default ALC which then doesn't know anything about the type needing to be serialized because it is in a different ALC.
This requires new APIs in CoreClr which WCF would then need to use to enable specifying where to create the generated dynamic assembly.
Original issue: dotnet/corefx#41286
The text was updated successfully, but these errors were encountered: