Cannot debug vegas200.exe script with C#

hazzar09 wrote on 7/9/2023, 2:04 PM

Hey, I need help if someone encounter same problem:

I am trying to debug my script but when I try to execute it, vegas wont start. I am getting message `The program '[9172] vegas200.exe' has exited with code 0 (0x0).`

I have set `Start external Program` to `vegas200.exe`
And also I have tried to add command line arguments: `-script: `MY_SCRIPT.dll`

But I am always getting that `vegas200.exe` exited with 0.

What am I doing wrong??

Thanks in advanced

Comments

hazzar09 wrote on 7/9/2023, 2:05 PM

PS: I was not able to run script at all with newer dotnet version (dotnet 7 or 5) but instead I am using dotnet framework 4.8

jetdv wrote on 7/9/2023, 4:41 PM

Have you done the things mentioned here?

And did you start with the correct project type?

And, yes, you need .NET 4.x

hazzar09 wrote on 7/10/2023, 3:59 AM

Yes I did. But I think I found a "solution": by downgrading to `vegas180.exe` I was able to make debugging work both in VS and Rider. So I think that `vegas200` has some sort of problem (at least on my machine).