Error MSB4018 The "RazorTagHelper" task failed unexpectedly. code example
Example: The "RazorTagHelper" task failed unexpectedly.
setx DOTNET_HOST_PATH "%ProgramFiles%\dotnet\dotnet.exe"
setx DOTNET_HOST_PATH "%ProgramFiles%\dotnet\dotnet.exe"