Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

64bits trading technology #1818

Open
valengaro opened this issue Nov 26, 2024 · 4 comments
Open

64bits trading technology #1818

valengaro opened this issue Nov 26, 2024 · 4 comments

Comments

@valengaro
Copy link

Hello, I have installed IronPython version 3.4.1, and when trying to use the tt-net-api.dll library, I get the following message in Visual Studio Code:

SystemError: Could not load file or assembly 'tt-net-api, Version=3.3.0.1, Culture=neutral, PublicKeyToken=39cc95b5bacdf5cf'. This assembly was built for a different processor.
I have found that the error may be due to the library being 64-bit, while IronPython is 32-bit.

@Lamparter
Copy link
Contributor

@valengaro the simple way to fix this is by running the 64-bit version of IronPython 😅
ipy32.exe is 32-bit whereas ipy.exe is the regular modern version.
Hope this helps!

@valengaro
Copy link
Author

Thanks but i have this issue when i use ipy.exe
FileNotFoundError: [Errno 2] Unable to load the file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the specified file.

@Lamparter
Copy link
Contributor

Have you installed the .NET Desktop Runtime and SDK?

@slozier
Copy link
Contributor

slozier commented Nov 26, 2024

System.Runtime, Version=5.0.0.0 is an indication that you are trying to use .NET 5 assemblies on .NET Framework. .NET Framework and .NET assemblies are not interchangeable. You'll need a version of the TT.NET.SDK DLL that matches the runtime used by your version of IronPython.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants