Just go to project properties -> Configuration properties -> Linker.
Goto to ->General and set the "Additional Library directories" to point to your lib file directory.
Then goto to Linker -> **Input **and type in your lib file name e.g. mystaticlib.lib in the "Additional Dependencies" field