예제 #1
0
        public string GetAutoID()
        {
            // build an ID based on the relative path and library prefix project setting
            string autoID = Path.Replace(System.IO.Path.DirectorySeparatorChar, '.');

            // prefix with libraryprefix if this is an as2 project
            AS2Project as2project = Project as AS2Project;

            if (as2project != null && as2project.CompilerOptions.LibraryPrefix.Length > 0)
            {
                autoID = as2project.CompilerOptions.LibraryPrefix + "." + autoID;
            }

            return(autoID);
        }
예제 #2
0
 public AS2ProjectBuilder(AS2Project project, string compilerPath)
     : base(project, compilerPath)
 {
     this.project = project;
 }
 public MtascArgumentBuilder(AS2Project project)
 {
     this.project = project;
 }