Fortran project templates in VS2019

IM 20 Reputation points

Hello, I cannot find project tempates for Fortran in VS2019. I have to uninstall VS2022 because of compiler linking errors. I have posted my issue at

Now the idea is to work on VS2019 but I cannot find a fortran project template. Can someone please guide me in starting a Console application as well as Projects with subroutines in Fortran. I shall be very grateful.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,772 questions
0 comments No comments
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 20,686 Reputation points Microsoft Vendor

    Hello @IM,

    Welcome to Microsoft Q&A forum.

    After installing Visual Studio 2019 with Desktop Development with C++ workload, please go to Intel oneAPIHPC Toolkit download page, select the Online Installer, download and install it. Remember to check the box Microsoft Visual Studio 2019 in the Integrate IDE step. Wait for the installation finishes and launch VS 2019, try to search for Fortran project templates.

    User's image

    User's image

    If you have installed the toolkit, then please try to reinstall(uninstall from Control Panel and reinstall) it.



    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Olaf Helper 33,836 Reputation points

    A Fortran project type isn't available from Microsoft, you have to head out for 3rd party solution.