adding reference to native visual c++ project -


i have 2 visual c++ projects in solution. first 1 (lets call main) native code. second 1 (test), has main added reference. test contains unit tests methods in main.

when add main reference test , try compile - errors library not found. adding project reference , not add output target path of main library directories of test ?

i don't know vc doing under hood, adding reference project doesn't seem have effect of linking libraries unlike c#.

you can use code project including , linking via usual method of c++.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -