Hey yall,
For some reason in my project I just started getting this bug randomly when trying to compile.
Severity Code Description Project File Line Suppression State Error MSB3073 The command copy /Y C:\Users\10850K\Desktop\CODE PROJECTS\PROCRASTINATOR\Web Sampler Plugin\Builds\VisualStudio2022\x64\Debug\VST3\WebSampler.dll C:\Users\10850K\Desktop\CODE PROJECTS\PROCRASTINATOR\Web Sampler Plugin\Builds\VisualStudio2022\x64\Debug\VST3\WebSampler.vst3\Contents\x86_64-win\WebSampler.vst3
del /s /q C:\Users\10850K\Desktop\CODE PROJECTS\PROCRASTINATOR\Web Sampler Plugin\Builds\VisualStudio2022\x64\Debug\VST3/WebSampler.vst3\Contents\moduleinfo.json
if not exist C:\Users\10850K\Desktop\CODE PROJECTS\PROCRASTINATOR\Web Sampler Plugin\Builds\VisualStudio2022\x64\Debug\VST3/WebSampler.vst3\Contents\Resources\ del /s /q C:\Users\10850K\Desktop\CODE PROJECTS\PROCRASTINATOR\Web Sampler Plugin\Builds\VisualStudio2022\x64\Debug\VST3/WebSampler.vst3\Contents\Resources && mkdir C:\Users\10850K\Desktop\CODE PROJECTS\PROCRASTINATOR\Web Sampler Plugin\Builds\VisualStudio2022\x64\Debug\VST3/WebSampler.vst3\Contents\Resources
C:\Users\10850K\Desktop\CODE PROJECTS\PROCRASTINATOR\Web Sampler Plugin\Builds\VisualStudio2022\x64\Debug\VST3 Manifest Helper\juce_vst3_helper.exe -create -version 1.0.0 -path C:\Users\10850K\Desktop\CODE PROJECTS\PROCRASTINATOR\Web Sampler Plugin\Builds\VisualStudio2022\x64\Debug\VST3/WebSampler.vst3 -output C:\Users\10850K\Desktop\CODE PROJECTS\PROCRASTINATOR\Web Sampler Plugin\Builds\VisualStudio2022\x64\Debug\VST3/WebSampler.vst3\Contents\Resources\moduleinfo.json
:VCEnd exited with code -1073741819.WebSampler_VST3 C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets 159
I have not figured out what causes this bug, but oddly it can be ‘fixed’ sometimes by literally just adding like a space to a file and I guess triggering like a recompile or something. I suspected it had to do with the / forward slashes (This is on windows) in the directory, or maybe the double back slashes, but changing those sometimes works and sometimes doesn’t.
EDIT : Okay its definitely something with vst3_helper, I just removed this line from the script and works fine now.