Error: "Exception of type 'System.Exception' was thrown." when I try to create a new project in Fortran

Ortega Ramos, Jessica Alexandra 20 Reputation points
2024-09-05T00:27:32.79+00:00

I cannot create a new project or solution related to Fortran in Visual Studio 2022 Community. I get the error: "Exception of type 'System.Exception' was thrown." I already tried:

  1. The solution posted here: https://github.com/CosmosOS/Cosmos/issues/2759#issuecomment-1704386843. It didn't work for me since I didn't have any 'dotnet' variable path in my list. I installed .net SDK for Visual Studio (https://dotnet.microsoft.com/en-us/download/visual-studio-sdks), and now I see the 'dotnet' variable path in the list, but that has not solved the problem
  2. Repairing the installation
  3. Remove everything and Re-installing
  4. Update to the latest version
  5. Going back to the previous version

I would greatly appreciate your help.

Thank you,

Jessica.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,180 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,004 questions
{count} votes

Accepted answer
  1. Olaf Helper 45,016 Reputation points
    2024-09-09T09:34:40.7633333+00:00

    when I try to create a new project in Fortran

    Fortran as project type / pligin from Intel? Then contact Intel support.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.