public virtual void AddImport(string targetFullPath, ImportLocation location) { if (targetFullPath == null) { throw new ArgumentNullException("targetFullPath"); } MsBuildProject.AddImport(targetFullPath, location == ImportLocation.Top ? true : false); }