Set your Windows desktop application project, mylib-test as the solution startup project.
For example, in the property page for the solution -
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a solution with two projects: mylib
and mylib-test
mylib
is a Static Library project.
mylib-test
is a Desktop Application project.
mylib-test
reference the mylib
project.
mylib-test
also include the mylib
project directory, in order to include mylib.h
inside mylib
project.
The build order is: mylib
, mylib-test
There is correct build order.
However, I got this when I try to run the mylib-test
:
Of course, tried exclude mylib
from build. But still didnt work.
Set your Windows desktop application project, mylib-test as the solution startup project.
For example, in the property page for the solution -