On a new PC, installed Visual Studio 2019, followed instructions to build vst3 plugin, opened project in Visual Studio, built, got this error:
2>------ Build started: Project: GainDemo_VST3, Configuration: Debug x64 ------
2>LINK : error LNK2001: unresolved external symbol _DllMainCRTStartup
2>C:\Users\dino\Documents\JUCE\0001\GainDemo\Builds\VisualStudio2019\x64\Debug\VST3\GainDemo.vst3 : fatal error LNK1120: 1 unresolved externals
2>Done building project “GainDemo_VST3.vcxproj” – FAILED.
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Am stuck right at the start, please help.