openframeworks / openframeworks/openFrameworks
PostBuildEvent in props-file for Visual Studio copies DLLs to hard-coded dir
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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