protected override void Initialize() { foreach (RuntimeInfo info in RuntimeInfo.GetAllValidRuntimes()) { AddReferencePath(info.Kind, info.RuntimeDirectory); } base.Initialize(); if (!StandardAssemblyReferences.Any(x => x == GetType().Assembly.Location)) { StandardAssemblyReferences.Add(GetType().Assembly.Location); StandardAssemblyReferences.Add(OnResolveAssemblyReference("System.Data")); StandardAssemblyReferences.Add(OnResolveAssemblyReference("System.Data.Common")); StandardAssemblyReferences.Add(OnResolveAssemblyReference("System.ComponentModel")); } }