This project has moved and is read-only. For the latest updates, please go here.

"Getting Started" project won't load

Mar 12, 2010 at 6:16 PM


I just wanted to get started programming VST. Because I know a bit of C# I was really happy to find VST.NET.

I followed the instructions in the Getting Started documentation pages.
I wanted to test things out ba making an effect plugin that inverts the polarity (out = in * -1)

Everything compiles OK.
I tried loading the dll with FL Studio 9 but as soon as I load it it disappears. The dll file stays openened but It doesn't work.

I use the RC of Vusual Studio 2010.

Here's my project including builds:

What am I doing wrong?


Mar 12, 2010 at 8:14 PM

I don't have access to FL Studio 9. I also have trouble downloading your share. I will try that later.

Could you try it in vsthost in the mean time?

This is the host I use to test with.

Let me know how it goes.

Mar 13, 2010 at 1:00 AM

Thanks for your reply!

It is exactly the same with vsthost.

If I try to load the plugin exactly nothing happens.
It's like the plugin unloads itself after it is loaded.

Does it have something to do with the Visual Studio 2010?
I also tried it with .NET Framework 2 instead of 4, but no difference.

Mar 13, 2010 at 10:22 AM

Your code looks fine. Where do you deploy the Core and Framework assemlbies?

Try putting them in the gac (they need to be strong-named for that)) or in the same folder as the managed plugin and the renamed interop assemblies.

For now test with vsthost and move to FL when that works.

Let me know how you fare.

Mar 13, 2010 at 1:34 PM

I did not deploy anything... sorry but I don't know how this works.

What is the GAC and which files would I put into the folderof the interop dll and the .net.dll?

Mar 13, 2010 at 1:46 PM

OK I put the Framework and Core dlls in the same directory and now it works! Also in FL.

I suggest that this should be noted in the Getting Started docs for the noobs like me :)

Thanks for the help (so dar)!