C3rd
ASP.Net Core C#: Visual Studio 2019 missing UseSqlServer()
Posted: 21 Mar 2020, 0:17am - Saturday
Few days ago, been learning again ASP.Net C#, but this time its ASP.Net Core C#. It took me a while to resolve this issue because all the reference in the internet and stackoverflow were for Visual Studio 2017.
DotNet Version: 3.1 | IDE: VS 2019

In VS2017 might work just by adding:
use using Microsoft.EntityFrameworkCore;
But in VS2019, what works is both adding describe above and execute add package:
dotnet add package Microsoft.EntityFrameworkCore.SqlServer

after that, you problem should go away...

Search
Categories
Related Links
- Apache Web Server
 - ASP Immigration Services Ltd.
 - CentOS Linux
 - Color Scheme Picker
 - CSS Button Generator
 - Deviant Art Account
 - Don Tabaniag - GraphiCult
 - Jerson Maglasang Weblog
 - Joshua Manlunas
 - Mark "mungkey" Vicente
 - Matt Arnilo Baluyos
 - MySQL
 - Paul Labis
 - PHP
 - PrendStar
 - Ridvan Baluyos
 - Scott Davies
 - SEO Fart XML-RPC Ping Tool
 - Stripes Generator
 - The Hero
 - Ubuntu Linux
 - Vim Carlo Nabora (DA)
 - Wella Maria Hong
 - What is my IP?
 - Xavier University - Ateneo de Cagayan
 - Zabyer Community