Hello,
After yesterday update Vegas to the latest build I am not able to run my own C# Vegas plugins.
Most of them are not launch. Everytime I get the following error on almost every C# Vegas plugin:
System.ApplicationException: Suitable entry point method, 'FromVegas', not found. at ScriptPortal.Vegas.ScriptHost.ScriptManager.Run(Assembly asm, String className, String methodName) at ScriptPortal.Vegas.ScriptHost.RunScript(Boolean fCompileOnly)
I have i.e. such code which is fired during launch:
namespace VegasJumpingCutScript
{
public partial class Form1 : Form
{
public Vegas myVegas;
public Form1(Vegas vegas)
{
myVegas = vegas;
InitializeComponent();
// my code here
}
}
public class EntryPoint
{
private static VegasJumpingCutScript.Form1 form;
public void FromVegas(Vegas vegas)
{
form = new VegasJumpingCutScript.Form1(vegas);
form.ShowDialog();
}
}
I can add that "ScriptPortal.Vegas.dll" is places where my VegasJumpingCutScript.dll is located.
What is wrong with it?
Is it a bug in Vegas Pro 20 latest build?
What am I doing wrong?
Regards
Marcin