2
當運行下面的代碼:ColdFusion的.NET類沒有找到
<cfobject type=".NET" name="test"
class="GoCardlessSdk.GoCardless"
assembly="#expandpath("../GoCardlessSdk.dll")#">
<cfdump var="#test#">
我收到錯誤:該類我想打電話給
The assembly that contains the class must be provided to the assembly attribute. Message Class GoCardlessSdk.GoCardless not found in the specified assembly list.
的C#代碼顯示here。
我所做的事情:
- 檢查發現的.Net的正確版本(3.5)安裝了它,我瞄準
- 檢查發現的ColdFusion的.Net服務正在運行的DLL
- 檢查命名空間的類(我想我正確地做這一點,但會很高興得到糾正)
我剛纔想下面的代碼:
<cfobject type=".NET" name="proc" class="System.Diagnostics.Process">
<cfdump var="#proc#">
確實按預期工作,至少表明.Net服務正在運行。
任何幫助得到克服,這將非常感激。謝謝!