 <p>If your static lib is another project in the same solution as the project that links to the lib, then you need to set a dependency between the two projects so that the build process will build the lib first and the other project second.</p> <p>To do this, right-click on the Solution abd choose "Project dependencies" from the pop-up menu.</p>