I have created an EDM based on the existing database. The .edmx file has been stored to NinjaTrader 8\bin\Custom folder.
There are 2 errors appearing in the message boxes when I try to compile the main script in the NinjaScript Editor:
1. Unable to load custom assembly. The given key was not present in the dictionary.
2. Unable to retrieve type info for "NinjaTrader.NinjaScript.AddOnBase" from assembly "NinjaTrader.Custom". Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Catching the exceptions with the code as follows gives no additional info:
catch (ReflectionTypeLoadException ex)
{
foreach (var item in ex.LoaderExceptions)
{
MessageBox.Show(item.Message);
}
}
Could you please help me to solve this issue?
Kind regards,
Denis
Comment