weird error in rider, happened from nowhere

  Microsoft.Common.CurrentVersion.targets(3262, 5): [MSB4216] Could not run the "GenerateResource" task because MSBuild could not create or connect to a task host with runtime "NET" and architecture "x86".  Please ensure that (1) the requested runtime and/or architecture are available on the machine, and (2) that the required executable "C:\Program Files\dotnet\sdk\6.0.400\MSBuild.dll" exists and can be run.


  Microsoft.Common.CurrentVersion.targets(3284, 7): [MSB4028] The "GenerateResource" task's outputs could not be retrieved from the "FilesWritten" parameter. Object does not match target type.


The project works just fine in Visual Studio

1 comment
Comment actions Permalink

 Hello! When this issue appears? Is it when you load or try to build a solution? Can you please share a screenshot?


Please sign in to leave a comment.