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
This was one of the biggest PITA issues that I came across when moving to PCL. There is no support for the Serializable attribute with the platforms we have targeted. I would love to know if there is a work around for this; the response from Microsoft was basically that was "old school" stuff that nobody uses now. It seems they think types don't cross AppDomain boundaries these days. I don't know why it was an issue considering it's just an attribute and doesn't have any behaviour. We were moving away from all the #if directives and this was one of the gaps.
The official Microsoft position seems to be that if you want to marshal exceptions across AppDomains (a model they are apparently moving away from) then it's up to the consuming code to handle that serialization. See discussion in #456 for reference articles.
for example this https://github.com/autofac/Autofac/blob/master/Core/Source/Autofac/Core/DependencyResolutionException.cs
need a PR?
The text was updated successfully, but these errors were encountered: