CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2001
    Posts
    251

    Forced compilation?

    For VS 2005/2008, is there a set option/property that rebuilds the entire project every time, even if no source code
    changes have been made? It would rebuild everything, even if "Build->Build Solution" is clicked. I'm talking about
    a set project option/property, not menu commands like "Build->Rebuild Solution".

  2. #2
    Join Date
    Jul 2002
    Posts
    2,543

    Re: Forced compilation?

    You can add pre-build event, which removes all output files, like del Debug\*.*

  3. #3
    Join Date
    Nov 2001
    Posts
    251

    Re: Forced compilation?

    Quote Originally Posted by Alex F View Post
    You can add pre-build event, which removes all output files, like del Debug\*.*
    Thanks, that's sounds like it might work.

    I found something called "Enable Minimal Rebuild" under Configuration Properties -> C/C++ -> Code Generation -> Enable Minimal Rebuild,
    but I think it does the opposite of what I'm looking for.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured