question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Intent to drop .NET Core App 2.1 as target framework

See original GitHub issue

Related to #438, I intend to drop netcoreapp2.1 as a target framework. Note that the package still supports netstandard 1.4, which is the reason I’m going to drop the core app as a target. Somebody can correct me if I’m wrong here, but there’s no need to target netcoreappX when we’re already targeting netstandard, as the netstandard package will continue working in a .NET Core app without any changes. I think I was just a little confused about the new .NET versioning/framework naming scheme when it was added as a target.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kdcllccommented, Feb 13, 2021

@nozzlegear why can’t the library simply target netstandard? It should work in .NET Framework and DotNetcore. From my quick scanning of the code I do not see the issue with supporting only netstandard. Thoughts?

1reaction
ChaoticIkecommented, Aug 25, 2020

Our 2.1 applications have some dependencies on some netstandard1.x packages. So it shouldn’t be a problem.

Microsoft provides a netstandard compatibility table here: Interactive Table image

Read more comments on GitHub >

github_iconTop Results From Across the Web

VS2017 - Missing .net core > 2.1 as target framework
After the last update of visual studio 15.7 to 15.8. 4 . net core 2.1 or greater has disappeared from the target framework...
Read more >
Cross-platform targeting for .NET libraries
Best practice recommendations for creating cross-platform .NET libraries.
Read more >
The future of .NET Standard - .NET Blog
What you should target .NET 5 and all future versions will always support .NET Standard 2.1 and earlier. The only reason to retarget...
Read more >
Please stop lying about .NET Standard 2.0 support!
In this post I have a bit of a rant about Microsoft's NuGet packages lying about supporting .NET Standard 2.0 when they kinda...
Read more >
Target Framework .Net Core 3.0 not available
After update, the target framework drop down box is now missing core 3 entry, only 1.0, 1.1, 2.0, 2.1 are available. Build fails...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found