private IEnumerable <IReference> GetReferences()
        {
            var binaryReferences  = _vsProject.GetBinaryReferences();
            var projectReferences = _vsProject.GetProjectReferences();

            return(binaryReferences.Concat(projectReferences));
        }
示例#2
0
        public void GetProjectReferencesHasAssemblyNameInIncludeName()
        {
            var projReferences = _projectWithDependenciesAdapter.GetProjectReferences().ToList();

            Assert.That(projReferences.Count(), Is.EqualTo(1));
            Assert.That(projReferences.Single().AssemblyName, Contains.Substring(ExpectedProjectDependencyName));
        }