Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RazorTagHelper Error #19

Closed
SCarnegie opened this issue Dec 14, 2020 · 2 comments
Closed

RazorTagHelper Error #19

SCarnegie opened this issue Dec 14, 2020 · 2 comments

Comments

@SCarnegie
Copy link

I have setup the PermissionsAccessControl2 as my start project but when i build i get an error so cant run it.
My error is
Severity Code Description Project File Line Suppression State
Error MSB4018 The "RazorTagHelper" task failed unexpectedly.
System.InvalidOperationException: DOTNET_HOST_PATH is not set
at Microsoft.AspNetCore.Razor.Tasks.DotNetToolTask.get_DotNetPath()
at Microsoft.AspNetCore.Razor.Tasks.DotNetToolTask.GenerateFullPathToTool()
at Microsoft.Build.Utilities.ToolTask.ComputePathToTool()
at Microsoft.Build.Utilities.ToolTask.Execute()
at Microsoft.AspNetCore.Razor.Tasks.DotNetToolTask.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext() PermissionAccessControl2 C:\Users*******.nuget\packages\microsoft.aspnetcore.razor.design\2.2.0\build\netstandard2.0\Microsoft.AspNetCore.Razor.Design.CodeGeneration.targets 79

@JonPSmith
Copy link
Owner

Hi @SCarnegie,

This project uses Net Core 2.2 and I expect you are running on a computer without that SDK installed.

I plan to update this to NET 5 but I am very busy at the moment, so it will be some months away.

@JonPSmith
Copy link
Owner

Hi @SCarnegie ,

Just to let you know I have updated this project to NET Core 3.1. That should make it work for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants