Visual studio compiler error

Yura Yarotskyi 0 Reputation points
2024-07-07T20:45:55.3733333+00:00

have this problem: I can't run the code, it says:

The "ResolveAppHosts" task was not given a value for the required parameter "RuntimeGraphPath".

I don't know what I can do, please help me

.NET version 6.0, C#

Developer technologies Visual Studio Debugging
Developer technologies Visual Studio Other
Developer technologies C#
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,436 Reputation points Microsoft External Staff
    2024-07-08T07:48:32.31+00:00

    Hello @Yura Yarotskyi ,

    Welcome to Microsoft Q&A forum.

    I suggest you first run VS as administrator, see if this error disappears. If the error persists, try to repair VS(VS Installer > More > Repair).

    If you installed some extensions, try to temporarily disable/uninstall them and test again. Some extensions may interfere VS.

    From looking at the error message, it seems that the issue is related to .NET/SDK.

    If you try to install and use .NET 8(Installers|Windows|x64), will this error disappear?

    Sincerely,

    Tianyu


    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.


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.