ColdFusion .Net class not found -


when running following code:

<cfobject type=".net" name="test"         class="gocardlesssdk.gocardless"         assembly="#expandpath("../gocardlesssdk.dll")#"> <cfdump var="#test#"> 

i receive error:

the assembly contains class must provided assembly attribute. message class gocardlesssdk.gocardless not found in specified assembly list.

the c# code class trying call show here.

things have done:

  • checked correct version of .net (3.5) installed dll targeting
  • checked coldfusion .net service running
  • check namespace class (i think doing bit correctly happily corrected)

i have tried following code:

<cfobject type=".net" name="proc" class="system.diagnostics.process">   <cfdump var="#proc#"> 

which did work expected @ least shows .net service running.

any overcome appreciated. thanks!

problem solved. needed included supporting dlls:

<cfobject type=".net" name="gocardless" class="gocardlesssdk.gocardless" assembly="#expandpath("../gocardlesssdk.dll")#,#expandpath("../newtonsoft.json.dll")#,#expandpath("../restsharp.dll")#"> 

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -