http://dotnet.org.za/armand/archive/2005/11/01/47857.aspx
Just figured I'd post this, for those of us who are still starting out with C# development and want to use Visual Studio 2005 and develop for pre-v7 versions of Vegas. It worked fine for me, I can now both build .DLL-files that Vegas understands, and debug them in run-time with the -SCRIPT: parameter. That's just kickass =)