Skip to content

Build starts before files are saved properly #25

@NameOfTheDragon

Description

@NameOfTheDragon

There seems to be a bit of an interaction with VS build, when files are implicitly saved by clicking the Build button or pressing F6.

This of course saves all the files, but the files seem to be saved before the format-on-save extension runs, so the build kicks off, then the extension runs and changes the files while the build is in progress, which means the build is instantly considered obsolete. This leads to a lot of unnecessary build steps being run and the wasted time and resources sort of negates the benefit of format-on-save.

This is particularly noticeable when ReSharper build is being used, which is otherwise very good at not rebuilding things unnecessarily.

I'm using VS2017, but I think the problem also existed in 2015 (not 100% certain though)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions