[MSBuild] Fix refreshing build when project file changes

Fixes BXC17602 - MD ignores project changes on build