S# Data and Designer with custom adapter


S# Data and Designer with custom adapter
Atom Reply
3/4/2021


Hi
My custom adapter can work with StockSharp.Xaml UI Configure window.
But when I put the adapter Dlls to the S# Data or S# Designer folder, I got the Exception:

S#.Data (Hydra)
System.IO.FileNotFoundException: Could not load file or assembly 'StockSharp.FtxFutures, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null, processorArchitecture=AMD64'. The system cannot find the file specified.
File name: 'StockSharp.FtxFutures, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null, processorArchitecture=AMD64'
at System.Reflection.RuntimeAssembly.InternalLoad(ObjectHandleOnStack assemblyName, ObjectHandleOnStack requestingAssembly, StackCrawlMarkHandle stackMark, Boolean throwOnFileNotFound, ObjectHandleOnStack assemblyLoadContext, ObjectHandleOnStack retAssembly)
at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName assemblyName, RuntimeAssembly requestingAssembly, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, AssemblyLoadContext assemblyLoadContext)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
at StockSharp.Configuration.InMemoryMessageAdapterProvider.GetAdapters()

How can I use my custom adapter with S# Data and S# Designer?
Thanks



Thanks:




1 Answers
Mikhail Sukhov

Avatar
Date: 3/4/2021
Reply


Hello

Try to re-compile as AnyCPU.
Thanks:


Attach files by dragging & dropping, , or pasting from the clipboard.

loading
clippy