p; if (strSolutionName.length) { 68. var strSolutionPath = strProjectPath.substr(0, strProjectPath.length - strProjectName.length); 69. Solution.Create(strSolutionPath, strSolutionName); 70. } 71. } 72. 73. // Create vcproj.user file 74. var FileSys = new ActiveXObject("Scripting.FileSystemObject"); 75. var strUserTarget = ""; 76. if(WizardVersion >= 10.0) 77. strUserTarget = strProjectName + ".win32.vcxproj.user"; 78. else 79. strUserTarget = strProjectName + ".win32.vcproj.user"; 80. 81. var strUserPath = FileSys.BuildPath(strProjectPath+"\\proj.win32", strUserTarget); 82. 83. var astrParentPath = new Array(); 84. astrParentPath[0] = strProjectPath; 85. while (astrParentPath.length) { 86. var strPath = astrParentPath.pop(); 87. var strParentPath = FileSys.GetParentFolderName(strPath); 88. 89. if (!FileSys.FolderExists(strParentPath)) { 90. astrParentPath.push(strPath); 91. astrParentPath.push(strParentPath); 92. continue; 93. } 94. else { 95. if (!FileSys.FolderExists(strPath)) { 96. File上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] ... 下一页 >>
|