More than one migrations configuration type was found in the assembly 'SMSApp'. Specify the name of the one to use

后端 未结 2 1629
渐次进展
渐次进展 2021-02-04 03:06

I am developing a mvc 5 application using code first approach.

i am facing an issue . at first time when i try below comands , it worked and generate the table in that d

2条回答
  •  既然无缘
    2021-02-04 03:46

    You need to specify which configuration you want to use when updating the databases.

    Update-Database -ConfigurationTypeName MyRenamedConfiguration
    

提交回复
热议问题