Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Using libraries in VS2010 / c++

Using libraries in VS2010 / c++

Scheduled Pinned Locked Moved C / C++ / MFC
c++debugginghelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Ed SHaw
    wrote on last edited by
    #1

    In previous versions, when I use dependencies and make a library project a dependency of another project, a link is added to the solution, and I can debug through the main project into the library. With VS2010, making the same dependency has no obvious effect on the solution. When I build the main project, the library is built, but is NOT included in the link. Seems trivial, but need help. Related. When I want to add a library from another developer, I used to use 'Add existing'. This still works in VS2010, but .lib is not in the drop downs. What is the preferred method for doing this. EJS

    A 1 Reply Last reply
    0
    • E Ed SHaw

      In previous versions, when I use dependencies and make a library project a dependency of another project, a link is added to the solution, and I can debug through the main project into the library. With VS2010, making the same dependency has no obvious effect on the solution. When I build the main project, the library is built, but is NOT included in the link. Seems trivial, but need help. Related. When I want to add a library from another developer, I used to use 'Add existing'. This still works in VS2010, but .lib is not in the drop downs. What is the preferred method for doing this. EJS

      A Offline
      A Offline
      Aescleal
      wrote on last edited by
      #2

      Hi Ed, Those wacky folks at MS have changed the way dependencies are stored and used. Dependencies are now stored in the project file rather than the solution file. Please have a look here[^] - it's explained a bit better than I could, especially the section "Solution Dependencies into Project to project reference." Hope that helps, at least to dig deeper, Cheers, Ash

      modified on Tuesday, June 1, 2010 8:38 AM

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups