I have a piece of code that works fine on my development machine, but I am unable to get it to run on my colleague's machine, so I know that the issue is environmental.
In the following code an exception is thrown during the last .Create method...
var pricesnapInstrumentList = new InstrumentList { Name = sRequestReference }; reportTemplate.ContentFields.AddRange(dictFieldNames.Keys.ToArray()); reportTemplate.ShowColumnHeaders = true; _extractionsContext.InstrumentListOperations.Create(pricesnapInstrumentList); _extractionsContext.InstrumentListOperations.AppendIdentifiers(pricesnapInstrumentList, instrumentIdentifierList, false); _extractionsContext.ReportTemplateOperations.Create(reportTemplate); The exception appears to say "Exception of type 'ThomsonReuters.Dss.Api.InvalidResponseException' was thrown.", however, on further investigation it discloses the following: 'ex' threw an exception of type 'System.IO.FileNotFoundException' Data: {System.Collections.ListDictionaryInternal} FileName: null FusionLog: null HResult: -2147024894 HelpLink: null InnerException: null Message: "Cannot load assembly 'E:\\TFS\\Develop\\VA\\Transformer\\bin\\Debug\\ThomsonReuters.Dss.RestApi.Client.dll'." Source: null StackTrace: null TargetSite: null The file 'ThomsonReuters.Dss.RestApi.Client.dll' is present at the location E:\TFS\Develop\VA\Transformer\bin\Debug although the error suggests that it is not. Any ideas what is going on here? Thanks!