I'm getting the following error:
clientId or clientSecret is null: Must be provided in config file or passed when instantiating ET_Client
although I have added following code before initiating ET_Client as
NameValueCollection parameters = new NameValueCollection(); parameters.Add("clientId", "XXXXXXXXXXXXXXXXXXXXXXXX"); parameters.Add("clientSecret", "XXXXXXXXXXXXXXXXXXXX"); ET_Client myclient = new ET_Client(parameters);
I also have a "FuelSDK_config.xml" with my clientId and clientSecret but not sure Where should I include this xml file and how is it referenced?