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. Never-ending Visual Studio

Never-ending Visual Studio

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestioncsharpvisual-studioworkspace
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.
  • A Offline
    A Offline
    Adrian Metcalfe
    wrote on last edited by
    #1

    Anyone ever seen the following problem and if so how do I fix it ! I have a visual studio workspace which contains all my DLL projects. For each project I have defined a post build step which just copies the DLL to my Windows directory. The problem is that sometimes the file is copied but visual studio does not think that the step has completed and sits and waits for it to complete. This prevents me from pressing 'Stop build' and carrying on working. I have to kill the instance of visual studio from task manager, re-open the workspace and build again. Any ideas why this happens ? Users. Can't live with 'em, can't kill em!

    R J 2 Replies Last reply
    0
    • A Adrian Metcalfe

      Anyone ever seen the following problem and if so how do I fix it ! I have a visual studio workspace which contains all my DLL projects. For each project I have defined a post build step which just copies the DLL to my Windows directory. The problem is that sometimes the file is copied but visual studio does not think that the step has completed and sits and waits for it to complete. This prevents me from pressing 'Stop build' and carrying on working. I have to kill the instance of visual studio from task manager, re-open the workspace and build again. Any ideas why this happens ? Users. Can't live with 'em, can't kill em!

      R Offline
      R Offline
      Roger Allen
      wrote on last edited by
      #2

      Id the DLL in the windows directory in use when the post build step is performed. I do this for my DLL projects all the time, and it only ever fails (but does not lock up) when the DLL is in use. My post build step looks like: copy debug\filename.dll ..\Executable\debug Roger Allen Sonork 100.10016 Were you different as a kid? Did you ever say "Ooohhh, shiny red" even once? - Paul Watson 11-February-2003

      1 Reply Last reply
      0
      • A Adrian Metcalfe

        Anyone ever seen the following problem and if so how do I fix it ! I have a visual studio workspace which contains all my DLL projects. For each project I have defined a post build step which just copies the DLL to my Windows directory. The problem is that sometimes the file is copied but visual studio does not think that the step has completed and sits and waits for it to complete. This prevents me from pressing 'Stop build' and carrying on working. I have to kill the instance of visual studio from task manager, re-open the workspace and build again. Any ideas why this happens ? Users. Can't live with 'em, can't kill em!

        J Offline
        J Offline
        John R Shaw
        wrote on last edited by
        #3

        Sorry no real solution. But I have seen this behaviour before when trying to compile multiple projects at once. Some times its a matter of dependencies. If one project depends on anoughter then make sure it first one is compiled first. Of course once in a great while it occurs when only one project is involed and all I can do is kill the instance and restart Visual Studio. Trust in the code Luke. Yea right!

        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