Binary Location without 'App/' with MSVS


I am building an Audio Application and want to define the ‘Binary Location’ in the Projucer. With XCode the behaviour is as expected: the app is copied to that directory.

However, with Visual Studio 2019 there’s an additional App/ folder, so the .exe is moved to ‘TargetDirectory/App/’.

Is there any way to get rid of that App/ appendix, without modifying the project settings within Visual Studio?

Projucer always adds an extra folder:

where getName() is defined as:

So you would have to change Projucer.

@McMartin Thanks for taking a deeper look!

@JUCE team: is there any reason for MSVS being inconsistent with the rest? (with rest I actually mean XCode :wink: did not check the rest)

In the case of a GUI Application project, that extra “App/” folder is indeed unnecessary, but it is required in the case of an Audio Plug-In project. Without the extra folders, the following files would conflict/overwrite each others:

  • <targetDirectory>/{AAX,RTAS,VST,VST3}/<projectName>.exp
  • <targetDirectory>/{AAX,RTAS,Standalone Plugin,VST,VST3}/<projectName>.ilk
  • <targetDirectory>/{AAX,RTAS,Shared Code,VST,VST3}/<projectName>.lib
  • <targetDirectory>/{AAX,RTAS,Standalone Plugin,VST,VST3}/<projectName>.pdb