.Net Core, Dapper and Visual Studio Code?

4

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?

    
asked by anonymous 17.08.2017 / 22:38

1 answer

8

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

17.08.2017 / 22:47