I tried to add an indicator an received the following error message:
Indicator 'CumulativeDeltaTick': Error on calling 'OnBarUpdate' method on bar 0: Could not load file or assembly 'Npgsql, Version=2.0.0.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7' or one of its dependencies. The system cannot find the file specified.
I am writing because I am having problems with file npgsql.dll. As a matter of fact, it was already working, but I had other error related to incompatibility with OneDrive. So, I uninstalled OneDrive. Then NinjaTrader stopped working. The solution I found was reinstalling a brand new version of NinjaTrader. The error related to OneDrive vanished. But now I just can't load the assembly 'Npgsql'.
I tried to download npgsql.dll from different sites and also tried to build it in Visual Studio. None of the versions worked. Some of them not even compiled, other gave different error messages.
Am I missing something? Should I download npgsql.dll from the internet or build it in Visual Studio? I think I might be having compatibility issues. What should be the proper version of npgsql.dll I should use?
Thank you very much.
Yours,
Claudio
Comment