The project file cannot be opened. Version 7.0.410 of the .NET SDK requires at least version 17.4.0 of MSBuild.

Cherry007 20 Reputation points
2024-06-03T10:36:36.9033333+00:00

Due to some issue my PC got reinstalled the OS. then after i have done the same setup IDE for my work related software's in the same PC. now I'm trying to open my previous application(Azure webjob app) appearing unloaded (files are not appearing) at solution explorer in Visual studio 2019.
Message error display like:
"The project file cannot be opened. Version 7.0.410 of the .NET SDK requires at least version 17.4.0 of MSBuild. The current available version of MSBuild is 16.11.2.50704. Change the .NET SDK specified in global.json to an older version that requires the MSBuild version currently available."

**My observation is i couldn't open an Azure webjob application for the newly created selected from VS2019 template. at present i can see only SDK
7.0.410
I have verified all steps like searching for the global.json file ...but not found in the PC.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,562 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,806 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 27,551 Reputation points Microsoft Vendor
    2024-06-04T03:16:19.94+00:00

    Hi @Cherry007

    Welcome to Microsoft Q&A! 

    Visual Studio 2019 doesn’t support .NET 7.0, please install VS2022 to upgrade your MSBuild.   

    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.