Browse Source

Update Demo

pull/12/MERGE
sunkaixuan 6 years ago
parent
commit
4c78c2e466
  1. 2
      Src/Asp.Net/SugarCodeGeneration/Codes/Methods.cs

2
Src/Asp.Net/SugarCodeGeneration/Codes/Methods.cs

@ -112,8 +112,8 @@ namespace SugarCodeGeneration.Codes
} }
FileHelper.CreateFile(projectPath, project, System.Text.Encoding.UTF8); FileHelper.CreateFile(projectPath, project, System.Text.Encoding.UTF8);
FileHelper.CreateFile(projectDic + "\\class1.cs", "", 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); AppendProjectToSln(projectId, name);
File.Copy(GetCurrentProjectPath + "/Template/nuget.txt", projectDic + "app.config");
} }
} }

Loading…
Cancel
Save