I'm learning F# and I'm just trying to build Animate a pendulum program. Here's the code: https://rosettacode.org/wiki/Animate_a_pendulum#F.23
As far as I understand, VS 2019 doesn't support WinForms in F# (maybe, I'm wrong), so I have error messages, trying to copy/paste that code:

What should I do?
Thanks a lot !
If you're looking to use Winforms on .NET core, you'll need to do the following in your project:
Sdk to Microsoft.NET.Sdk.WindowsDesktopOutputType: <OutputType>WinExe</OutputType>PropertyGroup: <UseWindowsForms>true</UseWindowsForms>There won't be a visual designer to use, but you should have access to the APIs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With