Msbuild: Add errors and warnings for invalid build states

There are many cases where the build scripts will fail due to missing files / invalid files etc. etc. Those conditions should all be verified before use and the appropriate warnings and errors should be raised.