Can't build Visual Studio sln after 7.06

Hey hey,

Just updated to 7.06 and I’m getting some weird mkdir error. I’m pretty sure it has to do with these trip backslashes, but I’m not even sure where this command is being set, so I’m not sure how or what to change.

Severity Code Description Project File Line Suppression State
Error MSB3073 The command if not exist C:\Users\10850K\Desktop\CODE PROJECTS\STATS\NewProject\Builds\VisualStudio2022\x64\Debug\VST3\\Strata.vst3 mkdir C:\Users\10850K\Desktop\CODE PROJECTS\STATS\NewProject\Builds\VisualStudio2022\x64\Debug\VST3\\Strata.vst3
if not exist C:\Users\10850K\Desktop\CODE PROJECTS\STATS\NewProject\Builds\VisualStudio2022\x64\Debug\VST3\\Strata.vst3\Contents mkdir C:\Users\10850K\Desktop\CODE PROJECTS\STATS\NewProject\Builds\VisualStudio2022\x64\Debug\VST3\\Strata.vst3\Contents
if not exist C:\Users\10850K\Desktop\CODE PROJECTS\STATS\NewProject\Builds\VisualStudio2022\x64\Debug\VST3\\Strata.vst3\Contents\x86_64-win mkdir C:\Users\10850K\Desktop\CODE PROJECTS\STATS\NewProject\Builds\VisualStudio2022\x64\Debug\VST3\\Strata.vst3\Contents\x86_64-win

:VCEnd exited with code 1.
Strata_VST3 C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets 149

I assume this is something with the new manifest file? But I tried disabling it and it made no difference. Not sure, but any solutions appreciated !

Edit: The block quoting doesn’t show the triple backslashes, but it looks like this (no spaces)

|Error|MSB3073|The command if not exist C:\Users\10850K\Desktop\CODE PROJECTS\STATS\NewProject\Builds\VisualStudio2022\x64\Debug\VST3\ \ \Strata.vst3 mkdir C:\Users\10850K\Desktop\CODE

Thanks for reporting.

I think what happened is that the post-build script checked that the .vst3 bundle was present, found the old-style single-file .vst3, and then tried to create an inner directory, which failed.

I’ve pushed a fix to develop that checks for this case and removes any old conflicting files if necessary: