<div class="postcell post-layout--right"> <div class="post-text" itemprop="text">
I am trying to create a DB from EF Core migration. With this connection string:
"ConnectionStrings": {"DefaultConnection": "Server=(localdb)\\MSSQLLocalDB;Database=BookList_RazorDemo;Trusted_Connection=True;MultipleActiveResultSets=True"
}The add-migration command on the PMC works fine, but when I execute update-database it give me an error saying that it cannot open or create the physical file 'C:\Users\[User]BookList_RazorDemo.mdf', the users name and the mdf file name are not separated by .
Is there a parameter I can specify with the update-database command to set my output path for the mdf file, or where can I set the output directory otherwise?
Thank you in advance.
</div> </div>