简体   繁体   中英

Package Manager Console Visual Studio 2019 Returns New Line

When trying to update my SQL Database from the Package Manager Console in Visual Studio 2019 (latest version) I always get this. It doesn't execute the command therefore it doesn't update the database. I have tried multiple solutions like restarting PC and Visual Studio, even reinstalling it, but with no success. I am always running VS as an Administrator but it doesn't change anything.

Any help is appreciated.

sc

Okay so after more debugging I found where the problem was. In case of Visual Studio, I went to Visual Studio Installer and installed this one too. After updating Visual Studio it seemed to add migrations just fine.

在此处输入图像描述

Update-Database -ConnectionString

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM