The google protobuf package ( https://www.nuget.org/packages/Google.Protobuf/) supports .NET 4.5 upwards;
protobuf-net (an independent / unaffiliated implementation of the serializer) supports .NET 2.0 and upwards for v2.*, but: from v3.* onwards that will change to .NET 4.6.1 Frankly, you are going to have your work cut out for you long term if you target .NET 4.0 - since that ended life in 2016. I am going to strongly advise you to look into moving to a more modern platform; ultimately you're currently asking open source library maintainer to pay for your technical debt - I've discussed this in more detail here: https://blog.marcgravell.com/2020/01/net-core-net-5-exodus-of-net-framework.html On Wed, 29 Apr 2020 at 10:37, Magnus Woodgate <[email protected]> wrote: > Hi, > > I was looking at the support for Protobuf for C# and there was no clear > definition for which version of .NET is officially supported. > > Is there a table of Protobuf releases to .NET releases support or similar? > > Or which version of Protobuf would support .NET 4.0? > > Thanks in advance. > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/protobuf/45f9aebd-cc4c-4958-a1f4-f3c2998f892c%40googlegroups.com > <https://groups.google.com/d/msgid/protobuf/45f9aebd-cc4c-4958-a1f4-f3c2998f892c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Regards, Marc -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/CAF95VAz3vW%3DsD0bEv4DcZgWhimOHiDNvB4r-J2AhutZU8S_B9A%40mail.gmail.com.
