This is actually a bug. If VBP is started like
VisBuildPro /b project.bld
and exited while a build is running (and the build is aborted), unsaved changes to the project will not get saved.
This apparently isn't a very common scenario (modifying the project after starting in that fashion and then exiting VBP while the build is still running), since it wasn't reported in the last 6 (!) years.
You can work around the problem by either
1) Always stop the build before exiting
or
2) Add a global build done script event like so (View | Other Windows | Script Editor -> Global tab):
Code:
Sub vbld_BuildDone(status)
' ensure any unsaved changes are saved if the build is aborted
' since if the build was started via /b filename.bld and VBP v6
' is exited while building, it won't prompt for unsaved changes
' to the project
If status = vbldStepStatAborted And Project.IsModified Then Project.Save
End Sub
(note that this will save unsaved changes any time a build is aborted).
We'll fix this in the next version of VBP. Thanks.