Beispiel #1
0
        /// <summary>
        /// Gets the projects referenced by the current project
        /// </summary>
        /// <returns>The projects referenced by the current project</returns>
        public IEnumerable <Project> GetReferences()
        {
            List <Project> output = new List <Project>();

            foreach (var item in ProjectReferenceNames)
            {
                var p = ParentSolution.GetProjectsByName(item).FirstOrDefault();
                if (p != null)
                {
                    output.Add(p);
                }
            }
            return(output);
        }