Remove .NET 3.5 and 4.0 targets - #3760
Conversation
|
Sorry for such a large review guys. At least it is mainly just code deletion. 😺 |
There was a problem hiding this comment.
Phew, that was a big review. Thanks for putting this all together @rprouse
Most everything made sense, but I noticed a few things while searching the codebase for 3.5 on your branch that might still be lingering. GitHub doesn't make it easy (to my knowledge) to comment on lines too far from a changed line, but I think there's still a few things that could be removed in RuntimeFramework and PlatformDetectionTests:
nunit/src/NUnitFramework/framework/Internal/RuntimeFramework.cs
Lines 113 to 114 in ad49f27
EDIT: Though not sure if we care about those within this PR if this is focused just on the compile-time stuff
|
Thanks for a thorough review @stevenaw, I really appreciate it. I've resolved all of your suggestions except the |
|
Thanks @rprouse for the quick response. That makes sense about tackling |
|
Damn, the latest builds started failing because .NET 5.0 is not installed on Linux or OSX on Azure. We just removed the install because newer versions were installed on those platforms! 👿 |
|
@rprouse I've had issues with Azure Pipelines images where simply installing an older runtime causes the preinstalled runtimes to no longer be found, so once I install one, I have to install all. Could that be it? |
|
@jnm2 we removed the install of 5.0 a few weeks ago for just that reason, a newer version came pre-installed on the build images. Now it appears that it isn't installed anymore! |
Fixes #3708
Fixes #3758