Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.
This repository was archived by the owner on May 23, 2024. It is now read-only.

Can nullable reference types be enabled in this project? #27

@hollowdrutt

Description

@hollowdrutt

All project templates starting with .NET 6 (C# 10) enable the nullable context for the project. Projects created with earlier templates don't include this element, and these features are off unless you enable them in the project file or use pragmas.
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/nullable-reference-types

It would be nice if the reference applications showed how to use nullable reference types as it is the default setting in the latest project templates.
eShopOnContainers.UnitTests/eShopOnContainers.UnitTests.csproj has nullable set to enable, but eShopOnContainers/eShopOnContainers.csproj does not.

Basically same issue as: dotnet-architecture/eShopOnContainers#1681

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions