name: Bug in Microsoft.VisualStudio.Web.CodeGeneration.Design/dotnet-aspnet-codegenerator/dotnet-scaffold
about: Create a report about something that isn't working
labels: customer-reported, area-scaffolding
---
## File a bug
Remember:
* Please check that the [documentation](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/tools/dotnet-aspnet-codegenerator?view=aspnetcore-5.0) does not explain the behavior you are seeing.
* Please search in both [open](https://github.com/dotnet/scaffolding/issues) and [closed](https://github.com/dotnet/Scaffolding/issues?q=is%3Aissue+is%3Aclosed) issues to check that your bug has not already been filed.
### Include your code
To fix any bug we must first reproduce it. To make this possible, please attach a small, runnable project or post a small, runnable code listing that reproduces what you are seeing.
It is often impossible for us to reproduce a bug when working with only code snippets since we have to guess at the missing code.
Use triple-tick code fences for any posted code. For example:
```C#
Console.WriteLine("Hello, World!");
```
### Include stack traces
Include the full exception message and stack trace for any exception you encounter.
Use triple-tick fences for stack traces. For example:
```
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at Alfred.GetTangerine() in C:\Batman\Friends\Alfred.cs:line 420