C# Official Supported .NET Version

35 views
Skip to first unread message

Magnus Woodgate

unread,
Apr 29, 2020, 5:37:13 AM4/29/20
to Protocol Buffers
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.

Marc Gravell

unread,
Apr 29, 2020, 6:44:52 AM4/29/20
to Magnus Woodgate, Protocol Buffers
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

--
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 protobuf+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/45f9aebd-cc4c-4958-a1f4-f3c2998f892c%40googlegroups.com.


--
Regards,

Marc

Magnus Woodgate

unread,
Apr 29, 2020, 9:20:10 AM4/29/20
to Protocol Buffers
Hi Marc,

Thanks for getting back on this matter - the nuget package was exactly what I was looking for, I should have started there.

Good to be clarified - and removing tech debt is always the plan!

Regards,

Magnus

On Wednesday, April 29, 2020 at 12:44:52 PM UTC+2, Marc Gravell wrote:
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 <magnus....@sonova.com> 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 prot...@googlegroups.com.


--
Regards,

Marc
Reply all
Reply to author
Forward
0 new messages