# CSharp samples of connect-api-examples on Github should be upgraded to dotnet core 2.1

**URL:** <https://developer.squareup.com/forums/t/csharp-samples-of-connect-api-examples-on-github-should-be-upgraded-to-dotnet-core-2-1/1394>\
**Category:** Questions\
**Tags:** net\
**Created:** [December 9, 2020, 8:47am UTC](https://developer.squareup.com/forums/t/csharp-samples-of-connect-api-examples-on-github-should-be-upgraded-to-dotnet-core-2-1/1394 "2020-12-09T08:47:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gary](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@Gary](https://developer.squareup.com/forums/u/Gary)\
**Post date:** [December 9, 2020, 8:47am UTC](https://developer.squareup.com/forums/t/csharp-samples-of-connect-api-examples-on-github-should-be-upgraded-to-dotnet-core-2-1/1394/1 "2020-12-09T08:47:15Z")

</div>

The CSharp samples on Github use dotnet core 2.0. This version reached end-of-life on Oct 1, 2018 - [https://github.com/dotnet/core/blob/master/microsoft-support.md](https://github.com/dotnet/core/blob/master/microsoft-support.md). These samples should be migrated to at least dotnet core 2.1 - LTS till August 21, 2021.

Compiling currently results in compiler warnings. I submitted an issue on Github [csharp examples should be upgraded to dotnet core 2.1 · Issue #208 · square/connect-api-examples (github.com)](https://github.com/square/connect-api-examples/issues/208) and a PR [Fixes#208 Update to dotnet core 21 by c0g1t8 · Pull Request #209 · square/connect-api-examples (github.com)](https://github.com/square/connect-api-examples/pull/209).

---

<div class="post-metadata">

**Author:** ![sjosey](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/sjosey/32/40_2.png) [@sjosey](https://developer.squareup.com/forums/u/sjosey)\
**Post date:** [December 9, 2020, 5:06pm UTC](https://developer.squareup.com/forums/t/csharp-samples-of-connect-api-examples-on-github-should-be-upgraded-to-dotnet-core-2-1/1394/2 "2020-12-09T17:06:16Z")

</div>

Thanks for sharing. I’ll ping some folks to take a look at this.
