When I created a new controller with the built in scaffolding, I got the following error:
'No executable found matching command "dotnet-aspnet-codegenerator"'
To resolve the issue, I just edited the .csproj file and added the following:
<ItemGroup> <DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="1.0.1" /> </ItemGroup>
Then, everything worked fine.
No comments:
Post a Comment