Skip to content

Add option for generating nullable property in csproj #5

Closed
@KuraiAndras

Description

@KuraiAndras

Is your feature request related to a problem? Please describe.
If you want to use nullable reference types after C#8.0 you either have to manually add the

<Nullable>enable</Nullable>

property to enable nrt or you have to annotate each file with

#nullable enable

Describe the solution you'd like
In the settings there should be an option for adding the Nullable property when adding the desired LangVersion property. One problem might be is when you want only some projects to have the Nullable property but that would require porject-by-project settings which are as of yet not supported anyway.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions