Base solution for your next web application
Open Closed

Add-Migration Build failed. #3960


User avatar
0
rafalpiotrowski created

Hi, I am trying to add migration but it failes. Where should I look for more detailed information on the reason why it failes. All solution builds sucessfully!!!

PM> Add-Migration XXXXXXX -Verbose -Debug Using project 'src\MyCompanyName.AbpZeroTemplate.EntityFrameworkCore'. Using startup project 'src\MyCompanyName.AbpZeroTemplate.Web.Host'. Build started... Build failed. PM>


2 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    Did you set Default Project to EntityFrameworkCore in package manager console?

  • User Avatar
    0
    ismcagdas created
    Support Team

    @rafalpiotrowski, there might be an error which Visual Studio does not show correctly, sometimes it happens. Can you

    1. Clear & rebuild your solution
    2. Close & reopen Visual Studio and build your solution again ?

    I assume something is wrong with build but VS does not show it correctly.