Updating a script's assembly while Vegas is still open.

Boodabang wrote on 11/15/2003, 5:42 PM
I'm testing a script that is in an assebly. The problem is once I call the script in Vegas I can't overwrite the assembly with a new one without shutting down Vegas. Is there a way I can programmatically force Vegas to release its reference to the assembly when the script finishes running so I can update the assembly without having to shutdown Vegas?

Comments

jetdv wrote on 11/15/2003, 9:37 PM
I have the same problem with the pictures loaded on the Tsunami and Excalibur screens.
SonyPJM wrote on 11/17/2003, 8:01 AM

It think this problem is related to how .Net scripting is primarily
designed for use with IIS (ASP.NET). For optimization, it does not
release an assembly once it has been loaded... this behavior is nice
when you're using a script over and over (the script runs quickly
after the first time it is used) but, as you've seen, it makes it a
pain when you're developing.

I will search for a fix in the next release. Hopefully I can add a
script configuration option that tells the Vegas ScriptHost to unload
custom assemblies upon completion... but I do recall (at least with
version 1.0 of the framework) that people on the newsgroups were
complaining that they could not get their assemblies to be
released... hopefully this has changed in 1.1.