IBM iseries as400 Terminal Host error

I go a message: The windows legacy compatibility will be discontinued in the next enterprise release. Convert to Windows.

Then I converted the project and saved it. When I run it now I get an error message - To run this application, you must install .NET.
image

My laptop has .NET Framework 4.8.

What I need to install to fix this issue. Thanks

Did you press the Yes button when the error occurred?

After the required .Net version is downloaded and installed, restart the machine, and continue your automation.

Let us know if this helped.