From 4c78c2e46642e2b33f051e12f9fa0f344611c39a Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Thu, 17 Jan 2019 19:48:57 +0800 Subject: [PATCH] Update Demo --- Src/Asp.Net/SugarCodeGeneration/Codes/Methods.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Asp.Net/SugarCodeGeneration/Codes/Methods.cs b/Src/Asp.Net/SugarCodeGeneration/Codes/Methods.cs index 29e542f5d..8d67722af 100644 --- a/Src/Asp.Net/SugarCodeGeneration/Codes/Methods.cs +++ b/Src/Asp.Net/SugarCodeGeneration/Codes/Methods.cs @@ -112,8 +112,8 @@ 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"); AppendProjectToSln(projectId, name); - File.Copy(GetCurrentProjectPath + "/Template/nuget.txt", projectDic + "app.config"); } }