79645428

Date: 2025-05-30 12:08:15
Score: 0.5
Natty:
Report link

This solution worked for me

Right click on your root project -> configure startup projects

make sure you have selected only one project as startup.

EXAMPLE: When you create angular and Asp.Net core project through visual studio, it will set angular as well as dot net core project as startup due to which mostly people encounter this issue. Just change startup setting for angular project to none and try again "Add-Migration". It should work.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Low reputation (1):
Posted by: M. Ali