static void InitReferenceAssemblies() { foreach (var b in VirtualFileSystem.DefaultSettingsConfig.Children) { if (string.Compare(b.Name, "CSharpScriptReferenceAssembly", true) == 0) { string name = b.GetAttribute("Name"); if (!string.IsNullOrEmpty(name)) { string fullPath = scriptAssemblyNameResolver.Resolve(name); if (File.Exists(fullPath)) { CSharpScriptReferenceAssemblies.Add(fullPath); } } } } }