[Core] Fix msbuild project loading issue

When loading a project in the msbuild host, make sure the current directory
is correctly set.