I am working on an add on that goes through the data inside the ArchiCAD model and pulls data and pushes it into a SQL Server. I am new to C++ but have a background in C#. How should I set up the connection between the add on and the SQL Server? I was trying to use the nuget package Microsoft.Data.SqlClient but I keep getting an error saying that " Severity Code Description Project File Line Suppression State Details
Error Could not install package 'Microsoft.Data.SqlClient 5.2.0'. You are trying to install this package into a project that targets 'native,Version=v0.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author."
Does this package work with the ArchiCAD API? Is there a better way to connect to a SQL Server? Has anyone else connected their add on to a SQL Server Database?
Thanks
Operating system used: Windows 24