Chris
Chris

Reputation: 15

How do I change where the dll dependencies are located for an application after building?

I am new to creating applications with Visual Studio and C++, and I am working on my first project. I couldn't find any answers on exactly what I was looking for, but maybe I didn't see something I should have - when a project solution has been built, and created into an exe, it has dependent DLLs in that same directory. Is there any specific way to change this to make the dependent DLLs appear in a subfolder inside that directory (ie. $(SolutionDir)Releases/Dependencies instead of $(SolutionDir)Releases)? Thanks in advance.

Upvotes: 0

Views: 711

Answers (1)

Minxin Yu - MSFT
Minxin Yu - MSFT

Reputation: 4399

You can change the Output Directory in project properties. For example:

$(SolutionDir)$(Platform)\$(Configuration)\Dependencies

Upvotes: 0

Related Questions