从ColdFusion运行.NET

从ColdFusion运行.NET,.net,coldfusion,.net,Coldfusion,我在运行ColdFusion中用C#编写的DLL时遇到问题 ColdFusion代码: <cfset dll = ExpandPath('./RemoteDraftingDLL.dll')> <cfobject type=".NET" name="testing" class="Remote.Macro" assembly="#dll#"> <cfset output = testing.TestMethod()> <cfoutput>#outpu

我在运行ColdFusion中用C#编写的DLL时遇到问题

ColdFusion代码:

<cfset dll = ExpandPath('./RemoteDraftingDLL.dll')>
<cfobject type=".NET" name="testing" class="Remote.Macro" assembly="#dll#">
<cfset output = testing.TestMethod()>
<cfoutput>#output#</cfoutput> 

听起来我需要在ColdFusion管理页面中的某个位置注册DLL,但我不确定在何处或如何注册?

每次更改DLL时,都需要重新启动ColdFusion。包括在服务器上放置DLL的初始时间以及每次更新DLL的时间


我认为,如果他们允许您以编程方式更新DLL寄存器,那就太好了。

Nevermind…问题已经解决。我们只需要重新启动Coldfusion服务器。为什么不接受Dale的回答呢?@sergii在他回答之前3小时,我通过自己的帖子回答。不过,他确实添加了一些非常好的附加信息,所以我会接受他的回答。我已经看到了,但是注释中的答案在这里并不重要:)这在调试时似乎是一个真正的麻烦…我同意你的看法,以编程方式更新DLL寄存器会很好。
Could not find the DotNet class.  
The assembly might not be registered with the DotNetSide.