1. using #pragma comment(lib, "../../xxx.lib")
  2. using Visual studio project option enter image description here

What is the advantage and disadvantage between two method?
I'm finding way which is better convenient to manage for many projects.

And what method does Microsoft recommend?

Edit
Report