Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Power Tool - Add-Migration & Update-Database - Build Failed #6117


User avatar
0
innolat created

Downloaded a new project Buil and ran API and UI both. Trying to use RAD tool to generate an entity and it is giving me Build failed as shown in the attached image.

When i rebuild the project it throws build error in *DbContext.cs saying newly added entity is used as an object and it is a namespace, on giving fully qualified name build passes and i am able to add migration and updae entity. Do we have a bug here in RAD?

Please let me know if i am missing on anything.


2 Answer(s)
  • User Avatar
    1
    ismcagdas created
    Support Team

    Hi @innolat

    Using same value for entity name and it's namespace can cause this probblem. Could you revert your changes and try with a different namespace ?

  • User Avatar
    0
    innolat created

    Thanks, This worked.