-
Notifications
You must be signed in to change notification settings - Fork 105
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
Upgrade to .NET Framework 4.6.1, add .NET Core 3.0 target #219
Conversation
Wow, thanks a lot! I'll take a look at the changes tonight. The issue with the number formatting in tests is known, we'll do something about it. Deprecating VS2017 is okay, but I'm not so sure about deprecating older .NET Frameworks. Our current policy is to support all the framework versions supported by Microsoft (that means, starting with 4.5.2). I think we could make 4.5.2-compatibility mode non-default and somehow make it available only for CI builds. I'll try to invent something :) |
.NET Framework 4.5.2 lacks the assembly |
BTW, I have upgraded the language version to C# 8 and F# 4.7, would you like to opt-in Nullable Reference Type? It may throw cause plenty of warnings at this timeframe, but all nullable related issues will go away once all these warning are resolved. @ForNeVeR |
Yes I want to enable them (and generally all the new stuff, all of it! 😏), but let's restrict scope of this PR to .NET Core 3.0 only at the moment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, here's a checklist for me:
- I don't like losing of compatibility with .NET 4.5.2; we aren't doing that. Probably we could implement a hacky solution (e.g. another csproj in the same directory, but based on the old project model)
- Tests should definitely be green (but I'm okay if you omit netcoreapp3.0 tests for now)
I could take over this PR (and finish the remaining tasks) at any moment, please inform me after you've finished. |
I've finished.
|
Okay, could you please run script |
Done via 5ae0b22 |
Ok, I'll fix the remaining now. Seems like the CI server still has troubles, I'll take a look. Thanks a lot for your work! |
My local test result:
All tests for net461 have passed, but not for netcoreapp3.0 |
The project won't build on .NET Core 3.0 SDK because the F# compiler there is slightly outdated and won't build a code fragment `member private _.`
This PR was superseded by #228. Thanks for your work, I'll make sure to preserve your contribution and your name on the commits. |
If target framework is less than .NET 4.6.1, System.Tuple is used instead of System.ValueTuple : - dotnet/sdk#3770 - y-iihoshi/ThScoreFileConverter#22 - ForNeVeR/xaml-math#219
Add conditional code to use Tuple instead of ValueTuple If target framework is less than .NET 4.6.1, System.Tuple is used instead of System.ValueTuple : * dotnet/sdk#3770 * y-iihoshi/ThScoreFileConverter#22 * ForNeVeR/xaml-math#219
Microsoft.NET.Sdk.WindowsDesktop
.TODO (by @ForNeVeR)
TODO
s