Any way to unload compiled StiReport dll
Posted: Thu Jun 17, 2010 8:04 am
Hello,
I have written a C# service which enables user to schedule Stimulsoft Reports to run at specified intervals.
However, in my code I create a new StiReport, load it and then render it, which compiles the report into a new dll each time. I do this rather than loading the report from an assembly because there is no easy way for me to know if the report has changed since I last ran it.
I have noticed that this creates a new dll each time which remains loaded (I can see them in the Modules tab when debugging in Visual Studio) and they remain there even after disposing of the StiReport object.
Are you aware of any way that I can unload these compiled report dlls once I have finished with them.
Thanks
Robin
I have written a C# service which enables user to schedule Stimulsoft Reports to run at specified intervals.
However, in my code I create a new StiReport, load it and then render it, which compiles the report into a new dll each time. I do this rather than loading the report from an assembly because there is no easy way for me to know if the report has changed since I last ran it.
I have noticed that this creates a new dll each time which remains loaded (I can see them in the Modules tab when debugging in Visual Studio) and they remain there even after disposing of the StiReport object.
Are you aware of any way that I can unload these compiled report dlls once I have finished with them.
Thanks
Robin