I typically work on changes that require several hours/days of coding and I test by launching a staged version of the project until it is ready to be published. If another developer makes a quick change to one of their windows and then publishes the saved version then all of my changes are published as well.
I was reviewing the change log today and noticed this has already happened. Fortunately, no issues resulted from this but I do have concerns about someone else publishing changes I am not finished with yet.
Publish but notify all developers with the project open.
Notify other developers and receive approval before publishing.
Publish only the changes each developer makes.