Hello Guys!
I need help for a sql connection, but i cant find anything related to this.
I have a custom nuget package, which inside talks to a sql server to write out some logs.
First i wanted to try sqlite, so i installed the official package.
I added every functionality i wanted for my package inside my visual studio, and it worked.
There is a data base file created, and logs are written into it.
But when i export the project to a nuget package, and install it, the package works normally, until i get to the database methods.
UiPath throws an error (or the package specifically), which says that it cant find certain dlls (e_sqlite3.dll).
I looked up for solutions, but apparently including dlls in a UiPath project and reference it isn’t a thing (please correct me if i am wrong).
So i tried the System.Data.SqlClient, and Microsoft.Data.SqlClient, both do work in my visual studio execution, but not in my UiPath execution, with similar errors like the one mentioned above, but this time it is ‘sni.dll’.
So my question is: how do i get this to work, that i can access my db from code/package. I know that you can use DB Activities, but my package has some complexity, which i cannot simply repeat with the ui (i would need multiple workflows, and this could not be integrated into the package, without exposing every method to the user).
I have looked for solutions similar to my question, but no one has asked even related questions, so i am asking:
TL;DR: Is it possible to use SQL Libs / Connections inside a nuget package / invoke code activity without using the db activities UiPath provides (graphical), and if so, how?
Thank you for your time!