Example #1
0
        public void PreBuildEvents(ICsProject pProject, string pPathToCompiler, bool pDebug)
        {
            byte[] assemblyBuffer          = File.ReadAllBytes(pPathToCompiler + @"\\flash\\flash.dll");
            IExternalAssemblyModule module = IExternalAssemblyModuleFactory.create(assemblyBuffer, pPathToCompiler);

            pProject.addExternalAssemblyModules(new[] { module }, false, null);
        }
Example #2
0
        public ICodeEditPackage ParseFile(char[] chars, string path)
        {
            ICsProject project = ICsProjectFactory.create(project_namespace.pn_project_namespace);
            ICsFile    file    = ICsFileFactory.create(chars, path);

            project.setBuildEntityModel(true);
            project.addFiles(file);
            project.parse(true, true);

            var unit = file.getCompilationUnit();

            return(null);
        }
		public void PreBuildEvents(ICsProject pProject, string pPathToCompiler, bool pDebug) {
			byte[] assemblyBuffer = File.ReadAllBytes(pPathToCompiler + @"\\flash\\flash.dll");
			IExternalAssemblyModule module = IExternalAssemblyModuleFactory.create(assemblyBuffer, pPathToCompiler);
			pProject.addExternalAssemblyModules(new[] { module }, false, null);
		}