Revert "[MSBuild] Fix regression when building msbuild projects"

This reverts commit 7f817acca8d4bb4e5795492c9c1c91f8e3c07408.
Revert "Revert "Revert "[MSBuild] Implement RefreshWithContent in the v4 builder"""

This reverts commit 38f1bd7300908da91cd0c7ffab71420dd00b9994.
Revert "Revert "Revert "MSBuild support fixes"""

This reverts commit 6e1037d71191077ff5ef920107d81258d4abb4d3.