razortaghelper task failed unexpectedly dotnet host path is not set code example
Example: The "RazorTagHelper" task failed unexpectedly.
setx DOTNET_HOST_PATH "%ProgramFiles%\dotnet\dotnet.exe"
setx DOTNET_HOST_PATH "%ProgramFiles%\dotnet\dotnet.exe"