示例#1
0
        /// <summary>
        /// This is used to load the dependency item information from the
        /// project file.
        /// </summary>
        /// <param name="xr">The XML text reader from which the information
        /// is loaded.</param>
        /// <param name="schemaVersion">The schema version</param>
        internal void ReadXml(XmlTextReader xr, Version schemaVersion)
        {
            string dep = xr.GetAttribute("depPath");

            this.DependencyPath = new FileFolderGacPath(dep,
                                                        (!dep.StartsWith("GAC:") && Path.IsPathRooted(dep)));
        }
示例#2
0
        //=====================================================================
        // Methods, etc.

        /// <summary>
        /// Constructor
        /// </summary>
        public DependencyItem()
        {
            // Just an example by default
            depPath = new FileFolderGacPath(@"dll\*.*");
        }