private IEnumerable <IReference> GetReferences() { var binaryReferences = _vsProject.GetBinaryReferences(); var projectReferences = _vsProject.GetProjectReferences(); return(binaryReferences.Concat(projectReferences)); }
public void GetProjectReferencesHasAssemblyNameInIncludeName() { var projReferences = _projectWithDependenciesAdapter.GetProjectReferences().ToList(); Assert.That(projReferences.Count(), Is.EqualTo(1)); Assert.That(projReferences.Single().AssemblyName, Contains.Substring(ExpectedProjectDependencyName)); }