AspNetCore.Docs icon indicating copy to clipboard operation
AspNetCore.Docs copied to clipboard

Getting a "build failed" after Scaffold Controller commands

Open atycholis opened this issue 6 years ago • 2 comments

Specially after: dotnet aspnet-codegenerator controller -name TodoItemsController -async -api -m TodoItem -dc TodoContext -outDir Controllers

I followed the steps exactly but getting "Build FAILED" with 10 warnings and 2 errors.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

atycholis avatar Feb 23 '20 18:02 atycholis

The tutorial works. I'm not sure what step you missed. You might try asking on StackOverflow,.

Rick-Anderson avatar Feb 23 '20 19:02 Rick-Anderson

You need to stop debug. I met the same issus.

PandaonMars avatar Feb 27 '20 20:02 PandaonMars