mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-19 17:51:36 +08:00
Update Demo
This commit is contained in:
@@ -113,6 +113,7 @@ namespace SugarCodeGeneration.Codes
|
||||
FileHelper.CreateFile(projectPath, project, System.Text.Encoding.UTF8);
|
||||
FileHelper.CreateFile(projectDic + "\\class1.cs", "", System.Text.Encoding.UTF8);
|
||||
AppendProjectToSln(projectId, name);
|
||||
File.Copy(GetCurrentProjectPath + "/Template/nuget.txt", projectDic + "app.config");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -83,6 +83,7 @@
|
||||
<ItemGroup>
|
||||
<Content Include="Template\BLL.txt" />
|
||||
<Content Include="Template\DbContext.txt" />
|
||||
<Content Include="Template\nuget.txt" />
|
||||
<Content Include="Template\Project.txt" />
|
||||
<Content Include="Template\sln.txt" />
|
||||
<Content Include="x64\SQLite.Interop.dll">
|
||||
|
||||
8
Src/Asp.Net/SugarCodeGeneration/Template/nuget.txt
Normal file
8
Src/Asp.Net/SugarCodeGeneration/Template/nuget.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MySql.Data" version="6.7.9" targetFramework="net40" />
|
||||
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net40" />
|
||||
<package id="Oracle.ManagedDataAccess" version="18.3.0" targetFramework="net40" />
|
||||
<package id="RazorEngine" version="3.10.0" targetFramework="net40" />
|
||||
<package id="sqlSugar" version="4.9.7.5" targetFramework="net40" />
|
||||
</packages>
|
||||
Reference in New Issue
Block a user