I'm trying to write a desktop app that downloads all the errors for a specific app in my splunk(bugsense) account, I downloade their sample app but its giving me the following error;
Description: An assembly (probably "Splunk.Client") must be rewritten using the code contracts binary rewriter (CCRewrite) because it is calling Contract.Requires and the CONTRACTS_FULL symbol is defined. Remove any explicit definitions of the CONTRACTS_FULL symbol from your project and rebuild. CCRewrite can be downloaded from http://go.microsoft.com/fwlink/?LinkID=169180. After the rewriter is installed, it can be enabled in Visual Studio from the project's Properties page on the Code Contracts pane. Ensure that "Perform Runtime Contract Checking" is enabled, which will define CONTRACTS_FULL.
Also I can't find any decent/working example written in C# that uses splunk's REST-API to authenticate,get list of apps & their respective error-list.
Sample SDK Download Link; http://download.splunk.com/misc/sdk/csharp-pcl/splunk-sdk-csharp-pcl-2.2.3.zip
Any kind of help will be helpful.
Thanks.