I'm trying to integrate Dapper with .Net Core but I'm not getting it and all the tutorials I found were done in Visual Studio using Nugget. So would anyone know how to do the Dapper import through Visual Studio Code?
I'm trying to integrate Dapper with .Net Core but I'm not getting it and all the tutorials I found were done in Visual Studio using Nugget. So would anyone know how to do the Dapper import through Visual Studio Code?
To install Dapper or any package, just use the part intended for NETCLI
, as shown in the image below:
Andwhenyouhave Visual Studio Code open, go to terminal > and enter what is described in NETCLI
of NUGET , and press ENTER , example :
Attheendoftheinstallationyouwillhavearesponseonyourterminallikethis:
Tip:
Attheendofanyinstallationjusttoratifytype:
dotnet restore
References