MSBuild command-line error – Silverlight 4 SDK is not installed
I figured this out – there is a setting in MSBuild where you can choose x64 or x86 environment for MSBuild (in the same page where you set MSBuild flags) – set it to x86 and everything will work.