// Main entry point for Makefile generation public string MakerMain(bool isUnixMode, bool isMcsMode, string slnFile) { SlnMaker mk1Obj = null; CmbxMaker mk2Obj = null; // Test to see what kind if file we got // sln, csproj, cmbx, prjx switch (DetermineFileType(slnFile)) { case TypeOfFile.sln: mk1Obj = new SlnMaker(); return(mk1Obj.MsSlnHelper(isUnixMode, isMcsMode, true, slnFile)); case TypeOfFile.csproj: mk1Obj = new SlnMaker(); return(mk1Obj.MsSlnHelper(isUnixMode, isMcsMode, false, slnFile)); case TypeOfFile.cmbx: mk2Obj = new CmbxMaker(); return(mk2Obj.MdCmbxHelper(isUnixMode, isMcsMode, true, slnFile)); case TypeOfFile.prjx: mk2Obj = new CmbxMaker(); return(mk2Obj.MdCmbxHelper(isUnixMode, isMcsMode, false, slnFile)); } return("Error: unknown file type."); }
public bool CreatePrjxFromCsproj(string csprojFileName) { SlnMaker slnMkObj = new SlnMaker(); // Load the csproj and parse it slnMkObj.CreatePrjxFromCsproj(csprojFileName); return(false); }
public bool CreateCombineFromSln(string slnFileName) { SlnMaker slnMkObj = new SlnMaker(); // Load the sln and parse it slnMkObj.MsSlnToCmbxHelper(slnFileName); return(false); }
public bool CreatePrjxFromCsproj(string csprojFileName) { SlnMaker slnMkObj = new SlnMaker(); // Load the csproj and parse it slnMkObj.CreatePrjxFromCsproj(csprojFileName); return false; }
public bool CreateCombineFromSln(string slnFileName) { SlnMaker slnMkObj = new SlnMaker(); // Load the sln and parse it slnMkObj.MsSlnToCmbxHelper(slnFileName); return false; }
// Main entry point for Makefile generation public string MakerMain(bool isUnixMode, bool isMcsMode, string slnFile) { SlnMaker mk1Obj = null; CmbxMaker mk2Obj = null; // Test to see what kind if file we got // sln, csproj, cmbx, prjx switch(DetermineFileType(slnFile)) { case TypeOfFile.sln: mk1Obj = new SlnMaker(); return mk1Obj.MsSlnHelper (isUnixMode, isMcsMode, true, slnFile); case TypeOfFile.csproj: mk1Obj = new SlnMaker(); return mk1Obj.MsSlnHelper (isUnixMode, isMcsMode, false, slnFile); case TypeOfFile.cmbx: mk2Obj = new CmbxMaker(); return mk2Obj.MdCmbxHelper (isUnixMode, isMcsMode, true, slnFile); case TypeOfFile.prjx: mk2Obj = new CmbxMaker(); return mk2Obj.MdCmbxHelper (isUnixMode, isMcsMode, false, slnFile); } return "Error: unknown file type."; }