openframeworks / openframeworks/openFrameworks

PostBuildEvent in props-file for Visual Studio copies DLLs to hard-coded dir

Open Beginner friendly
#6,380 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

After the generated project is customized and target/output directory is changed, the "inherited" post-build event can't pick up such changes - it still copies DLL-s to hard-coded bin subdirectory.
Both openFrameworksDebug.props and openFrameworksRelease.props should be fixed to use $(OutDir) instead of $(ProjectDir)bin.
Please, make sure the command is identical for all platforms/configurations, so it will be easy to review it when multiple/all configurations/platforms is selected in Project Settings.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the post-build events in openFrameworksDebug.props and openFrameworksRelease.props, focusing on the platform and configuration variants. Replace the hard-coded output location with the requested output-directory reference, then verify the command is identical across all platforms and configurations in the generated Visual Studio project settings.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.