Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BinaryFormatter is not supported and by default throws an exception #33

Open
rwmcintosh opened this issue Mar 11, 2024 · 1 comment
Open

Comments

@rwmcintosh
Copy link
Member

rwmcintosh commented Mar 11, 2024

It can be configured to allowed in runtime and compile time, but we should remove this

https://learn.microsoft.com/en-us/dotnet/standard/serialization/binaryformatter-security-guide

@rwmcintosh
Copy link
Member Author

You can use this in the csproj to enable compile for .net8

<EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>

within a PropertyGroup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant