.NET Standard Support Removed from Lamar 7 - Can I Add It Back?
See original GitHub issueWondering if there was a specific reason for removing .NET Standard 2.0 support from Lamar 7.
The commit that removed .NET Standard from everything was just removing it from the .csproj <TargetFrameworks>
elements (basically).
I tried out adding .NET Standard 2.0 back into the Lamar source code where it was removed. Everything compiled and all the tests passed.
I’m looking for a version of Lamar that works with .NET Framework 4.7.2 (so .NET Standard 2.0) and Microsoft.Extensions.DependencyInjection 6.0. Weird combo I know. I can explain more if you’d like.
Would you accept a PR adding back in .NET Standard 2.0 and MS.E.DI 6.0 support? I can add in whatever kind of testing you like. Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Please stop lying about .NET Standard 2.0 support!
In an effort to make it easier to write libraries that could be used in both .NET Framework and .NET Core (without needing...
Read more >NET Standard
However, if you want to share code between .NET Framework and any other .NET implementation, such as .NET Core, your library should target...
Read more >.NET — .NET Standard 2.0 Deprecation, Support for .NET 6 ...
NET Core-based products will also – at a minimum – require .NET 6 and Visual Studio 2022: WinForms; WPF; Blazor; ASP.NET Core; Reporting;...
Read more >You must add a reference to assembly netstandard errors
Net Framework 4.7.1, in many projects referencing net standard ... to netstandard to our project so i had to remove it and i'm...
Read more >You must add a reference to assembly 'netstandard ...
How can I fix it without referencing netstandard but the full Windows .NET Framework 4.6.1? I've checked out a previous commit which worked...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@twinter-patriot I just didn’t want to have to support the full .Net framework to be honest. And yes, I’ll take a PR. You’ll need the core Lamar.Testing library to also target .Net 4.7.2 whatever, and be running in the GH actions.
This is done.