Example #1
0
        public Project(String sProjectFile)
        {
            _projectFile    = new FileInfo(sProjectFile);
            _projectOptions = new ProjectOptions(this);

            _projectOptions.ReadOptions();
        }
Example #2
0
        private string[] GetExtensions()
        {
            if (_projectFile == null)
            {
                return(null);
            }

            // Preferably, use new Options File
            if (_projectOptions.OptionsFile.Exists)
            {
                _projectOptions.ReadOptions();
                return(_projectOptions.Extensions.ConvertToArray());
            }

            // If old Build File exists, read from this
            if (ProjectBuildFile.Exists)
            {
                return(GetBuildFileExtensions());
            }

            return(null);
        }