Highlighted
Contributor.
Contributor.
1516 views

Difference between "build solution" and "rebuild solution" in Microsoft Visual Studio -- MicroFocus Cobol ?????

Jump to solution

I'd like to understand the distinction.

0 Likes
1 Solution

Accepted Solutions
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Difference between "build solution" and "rebuild solution" in Microsoft Visual Studio -- MicroFocus Cobol ?????

Jump to solution

Build means compile and link only the source files that have changed since the last build, while Rebuild means compile and link all source files regardless of whether they changed or not. Build is the normal thing to do and is faster.

Thanks.

View solution in original post

0 Likes
3 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Difference between "build solution" and "rebuild solution" in Microsoft Visual Studio -- MicroFocus Cobol ?????

Jump to solution

Build means compile and link only the source files that have changed since the last build, while Rebuild means compile and link all source files regardless of whether they changed or not. Build is the normal thing to do and is faster.

Thanks.

View solution in original post

0 Likes
Highlighted
Contributor.
Contributor.

RE: Difference between "build solution" and "rebuild solution" in Microsoft Visual Studio -- MicroFocus Cobol ?????

Jump to solution

Thanks.  Suppose I change one copybook that is used by seven different programs, and then do "Build", Will it re-compile those seven programs?

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Difference between "build solution" and "rebuild solution" in Microsoft Visual Studio -- MicroFocus Cobol ?????

Jump to solution

Yes, it keeps a list of dependencies for each program including copybooks so if the timestamp on a copybook is newer than the last time it was built then it will build all programs that reference that copybook.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.