Revert "[msbuild] fix some weird local result variable initialization issue."

This reverts commit 76b08f12ef69c180733a0cad99ea89b2a225ec51.