pdevito3 / craftsman

A .NET scaffolding tool to help you stop worrying about boilerplate and focus on your business logic 🚀
https://wrapt.dev
MIT License
1.12k stars 65 forks source link

Enable nullability in generated projects #114

Open NoTuxNoBux opened 1 year ago

NoTuxNoBux commented 1 year ago

It would be nice if <Nullable>enable</Nullable> was automatically set in the generated csproj. Recent .NET versions are pushing hard to making this the default everywhere (the billion dollar mistake), and I noticed it only required minor changes to enable this in my project after the fact.

Some things to take into account if you do this, though:

pdevito3 commented 1 year ago

Yup this is on my list. Should be simple, just need to do it!