Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / desktop / MFC

View the current library link order in a VC project

4.83/5 (6 votes)
29 Jun 2011CPOL 24K  
Shows how to view the current library link order in a VC project
To view the current library link order in VC++ 6.0 (!! please still use it?), follow these steps:

  1. On the Project menu, click Settings.
  2. In the Settings For view of the Project Settings dialog box, click to select the project configuration that is getting the link errors.
  3. On the Link tab, type /verbose:lib in the Project Options box.
  4. Rebuild your project. The libraries will be listed in the output window during the linking process.


For Visual Studio version 2005 (or more?), follow these steps:
  1. Open project properties
  2. Select Linker->CommandLine under Configuration Properties
  3. In the Addition options text box, type /verbose:lib

One benefit of using this /verbose:lib command is that you will also be able to see the MFC libraries that are linked during compile time in your MFC project.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)