MATLAB .Net Builderを使用して.Netライブラリを生成しました。私はC#で問題なく使用できましたが、F#Interactiveで作成した簡単なF#ラッパーを使っていくつかのテストをしようとしています。MWArray.dllをF#Interactiveにバインドできません
問題は、F#InteractiveでMWArray
クラスを使用することができないようです。
#r
コマンドを使用してDLLを参照することができましたが、open
コマンドの後にintellisenseを使用すると、MathWorks
ドメインが見つかりません。私は私のコードを実行した場合、フローはMWArray
に遭遇したとき
はさらに、私は次のエラーを取得する:
error FS0193: internal error: Could not load file or assembly 'file:///C:\Program Files\mypath\bin\Debug\MWArray.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format. System.IO.FileNotFoundException: Could not load file or assembly 'MWArray, Version=2.11.0.0, Culture=neutral, PublicKeyToken=e1d84a0da19db86f' or one of its dependencies. The system cannot find the file specified. File name: 'MWArray, Version=2.11.0.0, Culture=neutral, PublicKeyToken=e1d84a0da19db86f' (...) at [email protected]() in C:\Program Files\mypath\ScriptTest.fsx:line 49
WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Stopped due to error
続い
Binding session to 'C:\Program Files\mypath\bin\Debug\MWArray.dll'...
私は本当にこれはから来ている見当がつかないし、どのように問題を解決するか。
F#のMATLAB .Netライブラリの使用に成功した人はいますか?
私の問題を解決するための助言がありますか?