Update Demo

This commit is contained in:
sunkaixuan
2019-01-17 19:44:34 +08:00
parent e1da0881de
commit 293caa3c9b
3 changed files with 10 additions and 0 deletions

View File

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

View File

@@ -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">

View 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>