Click here to Skip to main content
15,888,320 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
net Core and EF core. While trying to build the application and launch I am getting the error mentioned - error: Reference to type 'iconventionrelationshipbuilder' claims it is defined in 'microsoft.entityframeworkcore', but it could not be found.

Kindly guide as I could not find the solution for the following error.


What I have tried:

I am encountering this error for the first time and I am new to .net core and EF core
Posted
Updated 11-May-21 1:31am

1 solution

A glance at the documentation (IConventionRelationshipBuilder Interface (Microsoft.EntityFrameworkCore.Metadata.Builders) | Microsoft Docs[^]) clearly shows that your casing is incorrect. C# requires spelling to be exact, i.e. upper and lower case characters must match.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900