Build Solution vs. Rebuild Solution

VAer-4038 776 Reputation points
2021-01-25T03:17:57.24+00:00

Every time when I modify code, I rebuild solution, then use the application file (under Bin > Debug folder) as the final product.

Is it correct process?

I am not exactly sure the difference among Build Solution, Rebuild Solution and Clean Solution.

Thanks.

59997-build-vs-rebuild.jpg

Developer technologies | Windows Forms
Developer technologies | Visual Studio | Debugging
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. WayneAKing 4,931 Reputation points
    2021-01-25T03:37:22.603+00:00

    I am not exactly sure the difference among Build Solution,
    Rebuild Solution and Clean Solution.

    In brief:

    Build Solution will recompile, etc. any modules (files) that
    are out of date. i.e. - If a source code file has been changed
    since the last Build/Rebuild it will be recompiled. Any modules
    that have not been changed since the last build do not need to
    be recompiled so they will be skipped.

    Rebuild Solution will recompile, etc. all modules (files) in the
    Project/Solution whether or not they have been changed since
    the last build.

    Clean Solution deletes all files that were generated as output
    by prior builds. Intermediate work files, temp files, object files,
    etc.

    • Wayne
    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.