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. Problem with VS2005 solution with one dll and one exe

Problem with VS2005 solution with one dll and one exe

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++testingdebugginghelp
3 Posts 3 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.
  • T Offline
    T Offline
    Tom Thorp
    wrote on last edited by
    #1

    I'm working on a project where I have two projects. #1 is c++ dll. Works just fine #2 is a unit test exe that test's out the DLL. My problem is that when I do a build, I cannot get the dll to automatically copy into my exe's debug directory. I think I'm missing something. I did try using references, thinking that it worked like in c#, but did not solve my problem. Any thoughts on how to do this. Tom

    P P 2 Replies Last reply
    0
    • T Tom Thorp

      I'm working on a project where I have two projects. #1 is c++ dll. Works just fine #2 is a unit test exe that test's out the DLL. My problem is that when I do a build, I cannot get the dll to automatically copy into my exe's debug directory. I think I'm missing something. I did try using references, thinking that it worked like in c#, but did not solve my problem. Any thoughts on how to do this. Tom

      P Offline
      P Offline
      pabloraul
      wrote on last edited by
      #2

      perhaps in the project properties/general/ output directory?

      1 Reply Last reply
      0
      • T Tom Thorp

        I'm working on a project where I have two projects. #1 is c++ dll. Works just fine #2 is a unit test exe that test's out the DLL. My problem is that when I do a build, I cannot get the dll to automatically copy into my exe's debug directory. I think I'm missing something. I did try using references, thinking that it worked like in c#, but did not solve my problem. Any thoughts on how to do this. Tom

        P Offline
        P Offline
        Paresh Chitte
        wrote on last edited by
        #3

        Hi, You can use custom build step for copying the DLL to destination folder. Go to "Project | Properties | Custom Build Step | Command Line". Enter Copy command. Hope this will help you. Regards, Paresh.

        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