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.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,172 questions
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
224 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,049 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 29,506 Reputation points Microsoft Vendor
    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.

    0 comments No comments

Your answer

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