Share via

Can't find or use Fortran in Visual Studio 2022

Patrick 0 Reputation points
2024-05-15T16:17:08.1166667+00:00

I Can't find or use Fortran in Visual Studio 2022. I have installed the workloads “Desktop development with C++” and “.NET desktop development” in VS properly, AND installed Intel Visual Fortran properly, including oneAPI Base Toolkit and HPC Toolkit. BUT I Can't find or use Fortran in Visual Studio 2022 whatever I installed them again and again in a proper way.

Developer technologies | Visual Studio | Extensions
Developer technologies | Visual Studio | Setup
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.


1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,191 Reputation points Microsoft External Staff
    2024-05-16T03:43:16.2766667+00:00

    Hi @Patrick 

    Welcome to Microsoft Q&A! 

    Are you using the latest version of VS2022? If no, please open the Visual Studio Installer and update it. 

    After installation, could you find the Fortran compiler in Visual Studio Help menu > About Microsoft Visual Studio

    Besides, please check the Intel® oneAPI Base Toolkit System Requirements and Intel® oneAPI HPC Toolkit System Requirements

    And ensure you install the Intel® oneAPI Base Toolkit and Intel® oneAPI HPC Toolkit from the official website

    During installation, please ensure that you select the checkbox of Microsoft Visual Studio 2022 in the following step:

    User's image

    If it persists, please go to the Intel support channels as the Fortran is not provided as a component of Visual Studio. Thanks for your understanding! 

    Sincerely,

    Anna


    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.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.