Revert "ArgumentNullException build failed"

This reverts commit bc01335d1cc34316d892b902fedb45d53c4e1a70.
Revert "ArgumentNullException"

This reverts commit e5affd9a19d9d3f837f1cb99606fc8f11ea1eb0e.
try to merged only Embeded models with views