Abort the startup if we encounter a assembly scanning error
Merge pull request #1937 from Particular/Issue_1937

Abort the startup if we encounter a assembly scanning error