TFS code doesn't work

Topics: Build
Oct 4, 2014 at 2:57 PM
Edited Oct 4, 2014 at 2:58 PM
Hi,
I download code from "Source code" section (zip file) but it doesn't work with VS2012.
Error is:
2   Source file '..\..\..\..\..\..\_AssemblyInfo\AssemblyInfo.General.cs' could not be found    C:\Source\Samples\Jacobi.Vst.Samples.CorePlugin\CSC Jacobi.Vst.Samples.CorePlugin.Clr4
Bye.
Coordinator
Oct 4, 2014 at 3:45 PM
Oct 5, 2014 at 9:12 AM
Edited Oct 5, 2014 at 9:35 AM
Yes obiwanjacobi,
i mananaged your code to compile and now i have all dlls in my path.
But i've this:
C:\Users\Pasquale\Documents\Visual Studio 2012\Projects\vstnet\Source\Samples\Jacobi.Vst.Samples.Delay\bin\Debug\Jacobi.Vst.Samples.Delay.dll' has no exported 'VSTPluginMain' or 'main' function

Oh...to load plugin dll, under my windows 8 64 bit, i need to add this lines
<runtime>
    <loadFromRemoteSources enabled="true"/>
</runtime>

to Jacobi.Vst.Samples.Host.exe.config .

I'm compiling clr4 version.
Oct 5, 2014 at 9:45 AM
I'm running windows 8 64 bit on a dev machine with loadfromremotesources disabled.
Shouldn't be required as far as I know. Vst aren't meaned to be loaded in a locked down environment.
Oct 5, 2014 at 9:52 AM
Edited Oct 5, 2014 at 9:52 AM
Doesn't have no exported main function means you're trying to run the DLL as an executable inside Visual Studio?
If that's the case you should compile the DLL and then load the Vst in a Vst host, presumably outside Visual Studio..
Coordinator
Oct 5, 2014 at 11:01 AM
Oct 5, 2014 at 1:21 PM
obiwanjacobi wrote:
please read: https://vstnet.codeplex.com/wikipage?title=Using%20VST.NET
Many many thanks...it works!