Fix incorrect generation of the version number in Info.plist
Fix potential cast exception
Add initial support for project dependencies defined at solution level