void AddProjectReference(string fileName) { DnxProject project = ParentSolution.FindProjectByProjectJsonFileName(fileName); if (project != null) { var projectItem = new ProjectReference(ReferenceType.Project, project.Name); References.Add(projectItem); } else { LoggingService.LogDebug("Unable to find project by json filename '{0}'.", fileName); } }