In the image below it is possible to see two projects (Visual Studio 2017 v15.9.6):
-GeneralFunctions is a .NET Standard 2.0
-TestFramework is a .NET Framework 4.6.1
My idea is to develop some functions in the .NET Std project and access them from the .NET Framework. I've struggled to be able to make "System.Data.SqlClient.SqlConnection" and "System.Data.Odbc.OdbcConnection" working. Answer here.
Now I would like to implement "System.Data.OleDb.OleDbConnection" but I cannot find the NuGet pack for it.
Dim connection As IDbConnection
connection = New System.Data.SqlClient.SqlConnection("")
connection = New System.Data.Odbc.OdbcConnection("")
connection = New System.Data.OleDb.OleDbConnection("")
The Error for the OleDB is: Error BC30002 Type 'System.Data.OleDb.OleDbConnection' is not defined.