public virtual Task RemoveReferenceAsync(string name) { name = Path.GetFileNameWithoutExtension(name); dynamic item = GetReference(name); if (item != null) { MsBuildProject.RemoveItem(item); } return(Task.CompletedTask); }