private void AddImportsAndReferences() { foreach (var type in Container.Instances.Keys) { Options = Options.AddImports(type.Namespace); Options = Options.WithReferences(type.Assembly); } }