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. C / C++ / MFC
  3. Is there a Visual Studio Compile Option

Is there a Visual Studio Compile Option

Scheduled Pinned Locked Moved C / C++ / MFC
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.
  • K Offline
    K Offline
    KayKay
    wrote on last edited by
    #1

    Hi, Is there a visual studion option which would help me to execute a file, somewhere in my drive, after a successful compilation. I need this because, i want to copy my executable/dll from the debug folder a different place for execution, write now i'm doing this with a batch file, any other technique to automate the process which could also, take care whether the executable already in memory, which means the file copy could not be done ..... Thanks in advance. Cheers Kannan

    P R 2 Replies Last reply
    0
    • K KayKay

      Hi, Is there a visual studion option which would help me to execute a file, somewhere in my drive, after a successful compilation. I need this because, i want to copy my executable/dll from the debug folder a different place for execution, write now i'm doing this with a batch file, any other technique to automate the process which could also, take care whether the executable already in memory, which means the file copy could not be done ..... Thanks in advance. Cheers Kannan

      P Offline
      P Offline
      Paolo Messina
      wrote on last edited by
      #2

      Hi Kannan, Look in the "Project settings" for the "Post-build step" tab. Here you can add a list of commands you want to execute after a successful build. I'm not sure, I used it only one time to copy a dll in the project directory. You may also use some special strings, see the docs. Cheers, Paolo.

      1 Reply Last reply
      0
      • K KayKay

        Hi, Is there a visual studion option which would help me to execute a file, somewhere in my drive, after a successful compilation. I need this because, i want to copy my executable/dll from the debug folder a different place for execution, write now i'm doing this with a batch file, any other technique to automate the process which could also, take care whether the executable already in memory, which means the file copy could not be done ..... Thanks in advance. Cheers Kannan

        R Offline
        R Offline
        Robin
        wrote on last edited by
        #3

        You can set where the output executable/dll location in the "Link" tab in project options (Alt-F7) ..

        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