I wrote a tiny code just to create an SQL database inside a Rhinocommon plugin.
It works quite fine with windows forms Application, but for the same code and the same process, it show null reference exception when it is a RhinoCommon SDK.
This line below give null reference exception.
I have attached the zip file as a small/tiny project in visual Studio 2010 c# dot net
String connectionString = null;
connectionString = ConfigurationManager.ConnectionStrings[“myconnectionn”].ConnectionString;
AppConfig file is as below<?xml version="1.0" encoding="utf-8" ?> SQL_TEST_02.zip (1.1 MB)