Update Demo

This commit is contained in:
sunkaixuan 2019-01-17 19:54:21 +08:00
parent 4c78c2e466
commit 668d03bfd8

View File

@ -112,7 +112,7 @@ namespace SugarCodeGeneration.Codes
}
FileHelper.CreateFile(projectPath, project, System.Text.Encoding.UTF8);
FileHelper.CreateFile(projectDic + "\\class1.cs", "", System.Text.Encoding.UTF8);
File.Copy(GetCurrentProjectPath + "/Template/nuget.txt", projectDic + "packages.config");
//没成功File.Copy(GetCurrentProjectPath + "/Template/nuget.txt", projectDic + "packages.config");
AppendProjectToSln(projectId, name);
}
}