There is a free Intel Fortran compiler which is recognized by VS IDE. You can then create and compile Fortran from within VS.

https://software.intel.com/content/w...per-tools.html

Create an account and sign in.

Click Get the Base Kit
Chose Windows Local and download file

Click Intel HPC Toolkit and download file


Now double click the file for the Base Kit

Follow instructions and make sure the Integration With Current Version of VS is marked

Then double click the file for HPC Toolkit and install it.

This will install Fortran.

In VS You can now create a new Intel Fortran project...

Have fun!

PS There is a useful booklet "Programming with Visual Studio: Fortran & Python & C++"
https://www.amazon.co.uk/gp/product/...?ie=UTF8&psc=1

which explains in detail how to install VS, Intel Fortran and Python so that they can be used from within VS.

Note that this doesn't cover how to program - just how to install and get things working.