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"); } }