Solve Scrutinizer issue about not existed di property inside Cli Application