////private string outputPath = null; /// <summary> /// Initializes a new instance of the VSProjectParser class. /// </summary> /// <param name="projectFile">Visual Studio project file to parse.</param> public VSProjectParser(SourcePath projectFile) { this.projectFile = projectFile; this.Parse(); CustomManifestParser cm = new CustomManifestParser(this.projectFile); this.dependencies.UnionWith(cm.getDependencies()); this.outputs.UnionWith(cm.getOutputs()); }
public VSProjectParser(SourcePath projectFile) { _projectFile = projectFile; _parse(); CustomManifestParser cm = new CustomManifestParser(_projectFile); _dependencies.UnionWith(cm.getDependencies()); _outputs.UnionWith(cm.getOutputs()); }
public NmakeVerb(SourcePath makefile) { this.makefile = makefile; this.abstractId = new AbstractId(this.GetType().Name, version, this.makefile.ToString()); // Generate output path. this.outputPath = "."; int depth = this.makefile.getDirPath().Split(@"\/".ToCharArray(), StringSplitOptions.RemoveEmptyEntries).Length; for (int i = 0; i < depth; i++) { this.outputPath = Path.Combine(this.outputPath, ".."); } this.outputPathSuffix = Path.Combine(BuildEngine.theEngine.getObjRoot(), this.makefile.getDirPath()); this.outputPath = Path.Combine(this.outputPath, this.outputPathSuffix); this.customManifest = new CustomManifestParser(this.makefile); }