calref/cboe

Windows Visual Studio 2017 project: Scenarios, Base, and data copied to wrong directory

NQNStudios opened this issue · 0 comments

<!--COPY FILES TO OUTPUT DIRECTORY-->

This section of Common.vcxproj is meant to copy resource files into Blades of Exile Scenarios/, Blades of Exile Base/, and data/ in the output directory. But actually the build ends up with a directory structure like this:

cboe/
  Debug/
    Blades of Exile Scenarios/
    Blades of Exile Base/
    data/
 x64/
    Debug/
      <all the binaries>

Consequently the game can't load the 3 built-in scenarios.

It's because $(SolutionDir)$(Configuration) is used as a macro to find the output dir. When I change those to $(SolutionDir)$(PlatformShortName)\$(Configuration) it fixes it. PR incoming.