Why do we need to complile Reqnroll to multiple platform targets and not only .NET Standard 2.0? #31
-
@SabotageAndi maybe you know the answer for this... |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 13 replies
-
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick info. Based on that, I would reconsider this with the current state of the frameworks. We definitely need to keep the .NET Framework support for a while, but it will slowly fade out. I can even imagine that at some point we will add features only to the .NET "core" version and support the .NET Framework version only with bug fixes. We need to measure the usage stats carefully to see when is the good time for this, but not in the next 6 months for sure. Having the core package compiled to multiple targets causes an extra panalty for testing (all framework combination has to be tested), but even more importantly, any packages that depend on the SpecFlow core (e.g. "Actions") has to be multi-targetted. It is a kind of avalanche of complexity. Of course this would need to be tested carefully and rewise if there is a technical issue (e.g. assembly loading). What do you think? |
Beta Was this translation helpful? Give feedback.
-
Why not asking to users to move to .NET, it should not be very hard !? |
Beta Was this translation helpful? Give feedback.
-
I did the hard work of cleaning up all the dependencies and the project compilation targets and the result is much simpler now. You can find more details at the PR: #130 |
Beta Was this translation helpful? Give feedback.
-
To tag onto this, could you also consider supporting |
Beta Was this translation helpful? Give feedback.
-
@robertcoltheart This is a good point. I have just removed the multi-targeting and really enjoy the simplicity of the single target 😀, so I would keep this as it is now. However, we could make an extra package for net6-only comparers until we need to support .NET 4. Could you please create a separate topic for that here in the ideas section of the discussion board so that we will not forget that? |
Beta Was this translation helpful? Give feedback.
-
The PR #130 was merged, so I close this discussion topic for now. |
Beta Was this translation helpful? Give feedback.
Two reasons:
NuGet.org displays the direct supported .NET Frameworks and gets this information out of the files in the package.
We didn't wanted to put .NET Standard 2.0 Assemblies in the net462 folder.
Because of assembly loading issues and I think newer packages dropped .NET Framework support, we needed different References and PackageReferences for .NET Framework and .NET Standard.