Add public key for friend assemblies for official build
Fix type in assembly
Move library.targets to HDI specific file and add missing friend assemblies for  official.