mikeoliphant / AudioPlugSharp

Easily create VST (VST3) audio plugins in C# .NET
MIT License
177 stars 21 forks source link

Rebuild all leads to a missing .vst3 error #25

Closed rlalance closed 1 year ago

rlalance commented 1 year ago

image

rlalance commented 1 year ago

image

rlalance commented 1 year ago

image

mikeoliphant commented 1 year ago

This happens because of circular project dependencies. The AudioPlugSharp project nuget build depends on AudioPlugSharpVST, but AudioPlugSharpVST depends on AudioPlugSharp.

Not sure that there is a way around this other than putting the nuget in a separate project.

rlalance commented 1 year ago

Oh, interesting! Thank you Mike!

How do you get this to build locally?

mikeoliphant commented 1 year ago

Just build it a second time ("Build", not "Rebuild").

rlalance commented 1 year ago

Ummmm, still the same.... for both SimpleExample and WPFExample.

I'll keep digging.

rlalance commented 1 year ago

Actually, that VST3 file is not present on my machine at all.

image

Where do I find that file?

mikeoliphant commented 1 year ago

That file is built by the "AudioPlugSharpVst" project - did it build successfully?

It should be in:

"AudioPlugSharp\x64\Release\AudioPlugSharpVst.vst3"

(or "\Debug\" for a debug build)

rlalance commented 1 year ago

yeah, weird. That project builds, but ends up with an error. So that means, it has a dependency on .vst3 files to build...

image

rlalance commented 1 year ago

I'm going to close everything, git clean -fdx, and start over.

rlalance commented 1 year ago

@mikeoliphant Just out of curiosity, do you have time for a short contract to assist our Game Studio with this?

We so close to the finishing line here :D

mikeoliphant commented 1 year ago

Not looking for contract work right now - sorry.

Btw, if you are just looking to use AudioPlugSharp to build a plugin, it is a lot easier to just use the nuget packages:

https://www.nuget.org/packages?q=audioplugsharp

rlalance commented 1 year ago

np, thank you Mike.

I need to host dehuminazer II, from Krotos, but that darn plugin is a PITA to use. It's spitting out silence.

So, I'm looking for alternate host solution, better in C# too, because the rest of our tooling is Unity or .net 6.

rlalance commented 1 year ago

So, right now, i'm investigating hosting .dll based VST3 plugins.

mikeoliphant commented 1 year ago

If you are looking to create a host, then unfortunately AudioPlugSharp won't help you - it is just for designing VST plugins.

rlalance commented 1 year ago

OHhhh! Darn... ok, thank you Mike!