VP9 and old scripts.

Rosebud wrote on 5/12/2009, 3:52 PM
Most of my scripts (for VP8) don’t seem to work with VP9.
I get this error:
System.ApplicationException: Suitable entry point method, 'FromVegas', not found.
at Sony.Vegas.ScriptHost.ScriptManager.Run(Assembly asm, String className, String methodName)
at Sony.Vegas.ScriptHost.PrecompiledScriptManager.Run()
at Sony.Vegas.ScriptHost.RunScript(Boolean fCompileOnly)

Any help is welcome
TIA
Gilles

Comments

jetdv wrote on 5/12/2009, 4:34 PM
I've seen that when I've tried to open a custom command via Tools - Scripts instead of Edit/View/Tools - Extensions

Rosebud wrote on 5/12/2009, 10:19 PM
Unfortunately this happens with my scripts, not with my Custom Command.
Rosebud wrote on 5/12/2009, 10:52 PM
It’s strange but the same scripts works fine with VP9 on another computer.
Rosebud wrote on 5/15/2009, 3:51 AM
Please, can someone from SCS tell me in which direction I have to search ?
Thx
JohnnyRoy wrote on 5/15/2009, 7:08 AM
Gilles, What version of .Net are these scripts compiled for?

I think:
Vegas 6 uses .Net 1.1
Vegas 7 uses .Net 2.0
Vegas Pro 8 uses .Net 3.0
Vegas Pro 9 uses .Net 3.5

I know that .Net 1.1 scripts that ran in Vegas 6 broke in Vegas 7 because .Net 2.0 had no backward compatibility. (...thank you very much Microsoft) :( BUT... .Net 3.0 was backward compatible with .Net 2.0 so scripts compiled for .Net 2.0 will work in Vegas 7, 8 & 9.

Your error indicates that it can't find the entry point but maybe there really is another reason that is manifesting itself as no entry point but is really a DLL load failure or other compatibility problem.

If you want, you can email me via the forum and send me the DLL and I can try it on my machines and see how it behaves. I've got test machines here at VASST for Vegas Pro 9 on XP32, Vista 32, & Vista 64. I be happy to test it for you and see what I find.

~jr