Source Generators

To avoid repetitive tasks, I created some Generators based on Source Generators.

Notes

Visual Studio 16 has some issues with Source Generators, especially when you clone BlazorBoilerplate and build the first time.

Even rebuilding BlazorBoilerplate.Shared sometimes a lot of errors are listed, but they are fake. Ignore them and run BlazorBoilerplate.Server or close and reopen Visual Studio.

Source generated is not visually updated.

../_images/entity-generator.png

Sometimes entities generated and present in the figure do not respect the most updated version of the source.