[Core] Consider env vars when evaluating msbuild properties
[Core tests] Test evaluation of msbuild properties backed by env vars