cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Nathan676
Contributor

How to send data from ArchiCAD add on with C++ API to SQL server

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

0 Replies 0

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!