Incremental build not triggered when only config.nsdepcop have changed
realvizu opened this issue · 2 comments
realvizu commented
- Build a csproj
- Modify and save config.nsdepcop
- Build again
Expected: NsDepCop analysis is executed.
Actual: Nothing happens, no build is triggered.
This happens only in VS and with the new project system.
If msbuild is started directly (from cmd prompt) it works as expected (NsDepCop is executed).
If the project file has the legacy format then it works as expected too.
realvizu commented
It turns out that MSBuild's FastUpdateCheck feature is responsible for this behavior.
https://stackoverflow.com/questions/50026355/how-to-avoid-that-visual-studio-incremental-build-does-not-run-when-files-outsid