Visual Studio - 2 projects in Solution - working directory -
i have 1 c++ solution in visual studio 2013. solution contains 2 projects. 1 game engine project, other game project.
the default project launches game (it .exe), project depends on game engine project(which .lib game project uses).
the problem is, gameengine project uses $(projectdir) or working directory of game, not want. if says in properties use path gameengine folder, wont.
i want gameengine project code use working directory of gameengine project file (when load files or images it`s folders).
please can me issue?
that's not how project references work. idea produce complete working folder in $(outdir) of default project - in example c:\folder\game\bin\x64\release or similar - can later package installer , distribute.
presumably, want gameengine project code run in gameengine's projectdir - in example c:\folder\gameengine\bin\x64\release or similar - because want code access additional files in directory. if that's case, should add files gameengine.csproj build action = content , copy output directory = copy if newer (see screenshot below). copied game's $(outdir), , code able access them.

Comments
Post a Comment