-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consolidate and remove unsupported .NET targets #6
base: master
Are you sure you want to change the base?
Conversation
Updated all projects to current SDK style csproj format. Removed outdated/unsupported framework targets. Removed older .NET Framework targets which are unsupported in MSTest (net20 and net35).
We want to support backward compatibility to all available .NET versions, so will skip this PR |
net20 target supports .NET Framework 2.0 - 3.5. netstandard20 supports .NET Framework 4.6.1 (with caveats) - 4.8.1 netstandar21 supports .NET Core 1.0 - NET 5 net6.0 supports .NET 6-7 net8.0 supports .NET 8+
@ljnath I have updated the PR to include support to all available .NET versions. I added an NUnit unit test project to test the older .NET Frameworks. Just as a side note, only NUnit has support for testing the older frameworks and even there it is only .NET Framework 3.5. All other testing frameworks require a minimum target of .NET Framework 4.6.1, so you may want to consider doing a "last release" that has support for .NET Framework 2.0 - 4.5, and sunset those targets. |
Hi @ljnath, I believe the build will still fail to run even after these changes. I do have an updated yaml file that you can take a look at. It is in the master branch of my fork. I have run and tested it on my side and while the build will still fail with the current master branch, I could create a separate PR for the build script, or you could just copy it and update it. Once that is done, the build should work for this PR. |
Hi @ljnath, As I pointed out in my other comments, the major Unit Testing libraries (xUnit, NUnit and MSTest) do not support running tests on those frameworks, and so while we could maintain the tag in the code for a build to add the library, it seems like an unnecessary burden to try to continue to support something that only a handful of legacy systems may still need to support. If we went ahead with a final release that includes support there would still be the code improvement regarding the seeding and such as well as now having moved things internally forward into a more modern tooling approach. With that done, I would be free to go ahead and make the other improvements, etc, which I have in mind. With that in mind, if I do not hear back, then you are welcome to take this PR or close it, whatever you see fit, but I will go ahead and create a separate NuGet package and take my fork and run with it. Cheers! |
Hello @jshergal , I apologize for the delayed response. While I understand the limitations of the legacy .NET Framework versions (2.0 & 3.5), I still plan to support them for as long as possible. Given that this is a micro library, I'm open to skipping tests for these frameworks in order to maintain support for these older versions. I’d love to hear your thoughts on this. |
Hi @ljnath, I did make a NuGet package that basically contains the version that is in this PR, you can check it out here and take a look at the list of supported frameworks - basically, it is supporting everything: |
Updated all projects to current SDK style csproj format. Removed outdated/unsupported framework targets.
Removed older .NET Framework targets which are unsupported in MSTest (net20 and net35).
This PR resolves #5