I'm trying to get a near identical version of the 'listBatchSubscribe' sample, and I'm getting an error saying it can't load an assembly. Here's the error:
An error occurred creating the configuration section handler for MailChimpAPIconfig: Could not load file or assembly 'MailChimpAPI' or one of its dependencies. The system cannot find the file specified.
Code (bolded line is where exception is thrown):
public void ImportContacts()
listBatchSubscribeInput input = new listBatchSubscribeInput();
// directive overrides, because normally we do xml-rpc
input.api_AccessType = EnumValues.AccessType.Serial; // access
input.api_OutputType = EnumValues.OutputType.JSON; // output
// method parameters
input.apikey = MCAPISettings.default_apikey;
I've included both the PerceptiveMCAPI and Cook RPC dlls, and I've used the config from include pdf docs. Does anyone have any suggestions?
Thanks in advance!