You'll need to restart CF and the .NET service.

Dave Watts, CTO, Fig Leaf Software

Sent from my Droid

On Sep 21, 2010 3:30 AM, "Michael Christensen" <[email protected]> wrote:
>
> We were able to determine, that the calls to sample functions that don't
work on our development server, does in fact work on our pre-production
server.
>
> So far so good I guess, but now I am facing a new problem - it seems that
CF caches the functions in the DLLs, so that it doesn't reflect the changes
when I change a function and (re)call it.
>
>
>> Can you elaborate on "goes awry ie What is the actual error message?
>>
>> Example:
>> <cfset obj = createObject(".net", "MyLibrary.TestClass", ExpandPath('.
>> /MyLibrary.dll')) />
>> <cfset result = obj.getValue("Foo") />
>> <cfoutput>#result#</cfoutput>
>>
>> TestClass.cs
>> =============
>> using System;
>> using System.Collections.Generic;
>> using System.Text;
>>
>> namespace MyLibrary
>> {
>
>> public class TestClass
>
>> {
>>
>
>> public string getValue(string Value)
>
>> {
>
>> return "You entered: " + Value;
>
>> }
>
>> }
>> }
>>
>>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337261
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to