Skip to content

Microsoft.EntityFrameworkCore.Analyzers not referenced #36555

@Varorbc

Description

@Varorbc

Bug description

I found that starting with EF Core 10.0, it no longer depends on the Microsoft.EntityFrameworkCore.Analyzers package. This change triggers the following compiler warning:
"Non-nullable property 'Test' must contain a non-null value when exiting constructor. Consider declaring the property as nullable or adding the 'required' modifier."

After reviewing the commit history, I confirmed this behavior was introduced by #34596. Could you clarify whether this is intentional, or is it an unintended regression?

Your code

Stack traces


Verbose output


EF Core version

10.0.0-preview.6.25358.103

Database provider

No response

Target framework

No response

Operating system

No response

IDE

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions