Oracle.ManagedDataAccess.Core support for .NET 5 — oracle-tech

    Forum Stats

  • 3,708,676 Users
  • 2,241,108 Discussions
  • 7,840,528 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Oracle.ManagedDataAccess.Core support for .NET 5

User_TKA7XUser_TKA7X Posts: 3 Newbie

Is there a plan to support this? I've tried and it does not work

BinaryFormatter is unsupported in .NET 5

Best Answer

  • User_TKA7XUser_TKA7X Posts: 3 Newbie
    Accepted Answer

    Alex,

    Thanks so much for the super fast feedback. Your link provided me with the workaournd I needed.

    By putting this in my project file, it works now.

      <EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>

    Regards,

    Jason

Answers

  • Alex Keh-OracleAlex Keh-Oracle Posts: 2,720 Employee

    Looks the same as Issue #109.

    There will be a new AddOracleTypesDeserialization method to resolve this issue in the next ODP.NET version.

  • User_TKA7XUser_TKA7X Posts: 3 Newbie
    Accepted Answer

    Alex,

    Thanks so much for the super fast feedback. Your link provided me with the workaournd I needed.

    By putting this in my project file, it works now.

      <EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>

    Regards,

    Jason

Sign In or Register to comment.