title: .Net Connector for SAP HANA with .Net Core
body: <p>We are creating a web api for our organization. API connects and retrieves data from a HANA View. I am referring  the sample provided at the below link to establish the connectivity</p>
  
  <p><a href="https://blogs.sap.com/2015/04/15/creating-a-c-application-using-sap-hana-and-adonet/" rel="noreferrer">https://blogs.sap.com/2015/04/15/creating-a-c-application-using-sap-hana-and-adonet/</a></p>
  
  <p>Since .Net Core does not allow DLL to be referenced directly, we are creating a local nuget package and referencing the same (<a href="https://docs.nuget.org/ndocs/create-packages/creating-a-package" rel="noreferrer">https://docs.nuget.org/ndocs/create-packages/creating-a-package</a>)</p>
  
  <p>I get the below error when I initialize HanaConection: </p>
  
  <blockquote>
    <p>{"Version mismatch:
    C:\Windows\assembly\GAC_MSIL\Sap.Data.Hana.v3.5\1.0.120.0__0326b8ea63db4bc4\Sap.Data.Hana.v3.5.dll
    (1.0.120.0), C:\Program Files\sap\hdbclient\libSQLDBCHDB.dll
    (1.00.112.00.1457615240).":"C:\Program
    Files\sap\hdbclient\libSQLDBCHDB.dll"}</p>
  </blockquote>