diff --git a/src/SmartCode.App/SmartCode.App.csproj b/src/SmartCode.App/SmartCode.App.csproj index 20c43c8..a45cfc8 100644 --- a/src/SmartCode.App/SmartCode.App.csproj +++ b/src/SmartCode.App/SmartCode.App.csproj @@ -1,11 +1,11 @@  - netstandard2.0 + netstandard2.1 - + diff --git a/src/SmartCode.CLI/SmartCode.CLI.csproj b/src/SmartCode.CLI/SmartCode.CLI.csproj index 5727544..e8519e1 100644 --- a/src/SmartCode.CLI/SmartCode.CLI.csproj +++ b/src/SmartCode.CLI/SmartCode.CLI.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.2 + netcoreapp3.1 true true SmartCode @@ -14,11 +14,11 @@ - - - - - + + + + + diff --git a/src/SmartCode.Db/SmartCode.Db.csproj b/src/SmartCode.Db/SmartCode.Db.csproj index 6c40434..e5b3773 100644 --- a/src/SmartCode.Db/SmartCode.Db.csproj +++ b/src/SmartCode.Db/SmartCode.Db.csproj @@ -1,18 +1,18 @@  - netstandard2.0 + netstandard2.1 - - - + + + - - + + - + diff --git a/src/SmartCode.ETL.LoadToES/SmartCode.ETL.LoadToES.csproj b/src/SmartCode.ETL.LoadToES/SmartCode.ETL.LoadToES.csproj index db96e9a..ca44fbe 100644 --- a/src/SmartCode.ETL.LoadToES/SmartCode.ETL.LoadToES.csproj +++ b/src/SmartCode.ETL.LoadToES/SmartCode.ETL.LoadToES.csproj @@ -1,11 +1,11 @@  - netstandard2.0 + netstandard2.1 - + diff --git a/src/SmartCode.ETL.PostgreSql/SmartCode.ETL.PostgreSql.csproj b/src/SmartCode.ETL.PostgreSql/SmartCode.ETL.PostgreSql.csproj index 2e746e5..9aac0f5 100644 --- a/src/SmartCode.ETL.PostgreSql/SmartCode.ETL.PostgreSql.csproj +++ b/src/SmartCode.ETL.PostgreSql/SmartCode.ETL.PostgreSql.csproj @@ -1,7 +1,7 @@  - netstandard2.0 + netstandard2.1 diff --git a/src/SmartCode.ETL.SQLite/SmartCode.ETL.SQLite.csproj b/src/SmartCode.ETL.SQLite/SmartCode.ETL.SQLite.csproj index 43d8d41..c41e451 100644 --- a/src/SmartCode.ETL.SQLite/SmartCode.ETL.SQLite.csproj +++ b/src/SmartCode.ETL.SQLite/SmartCode.ETL.SQLite.csproj @@ -1,11 +1,11 @@  - netstandard2.0 + netstandard2.1 - + diff --git a/src/SmartCode.ETL/SmartCode.ETL.csproj b/src/SmartCode.ETL/SmartCode.ETL.csproj index 8da3559..fff0ef8 100644 --- a/src/SmartCode.ETL/SmartCode.ETL.csproj +++ b/src/SmartCode.ETL/SmartCode.ETL.csproj @@ -1,13 +1,13 @@  - netstandard2.0 + netstandard2.1 - - - + + + diff --git a/src/SmartCode.Generator/SmartCode.Generator.csproj b/src/SmartCode.Generator/SmartCode.Generator.csproj index f737ffc..53cf053 100644 --- a/src/SmartCode.Generator/SmartCode.Generator.csproj +++ b/src/SmartCode.Generator/SmartCode.Generator.csproj @@ -1,7 +1,7 @@  - netstandard2.0 + netstandard2.1 diff --git a/src/SmartCode.TemplateEngine/SmartCode.TemplateEngine.csproj b/src/SmartCode.TemplateEngine/SmartCode.TemplateEngine.csproj index 5d4671a..ae58072 100644 --- a/src/SmartCode.TemplateEngine/SmartCode.TemplateEngine.csproj +++ b/src/SmartCode.TemplateEngine/SmartCode.TemplateEngine.csproj @@ -1,11 +1,11 @@  - netstandard2.0 + netstandard2.1 - + diff --git a/src/SmartCode.Tests/DbTypeConverter_Test.cs b/src/SmartCode.Tests/DbTypeConverter_Test.cs index 81463ad..6ff5bcd 100644 --- a/src/SmartCode.Tests/DbTypeConverter_Test.cs +++ b/src/SmartCode.Tests/DbTypeConverter_Test.cs @@ -15,14 +15,14 @@ public class DbTypeConverter_Test [Fact] public void Convert() { - var xmlPath = @"E:\Ahoo\SmartCode\src\SmartCode\DbTypeConverter\DbTypeMap.xml"; + var xmlPath = @"E:\projects\SmartCode\src\SmartCode.CLI\bin\Debug\netcoreapp3.1\DbTypeConverter\DbTypeMap.xml"; var patamters = new Dictionary { { "XmlPath",xmlPath} }; IDbTypeConverter convert = new DefaultDbTypeConverter(NullLogger.Instance); convert.Initialize(patamters); var langType = convert.LanguageType(DbProvider.SqlServer, "CSharp", "int"); - Assert.Equal("Int16", langType); + Assert.Equal("int", langType); } } } diff --git a/src/SmartCode.Tests/SmartCode.Tests.csproj b/src/SmartCode.Tests/SmartCode.Tests.csproj index 54c0bb6..11d96e6 100644 --- a/src/SmartCode.Tests/SmartCode.Tests.csproj +++ b/src/SmartCode.Tests/SmartCode.Tests.csproj @@ -1,15 +1,15 @@  - netcoreapp2.2 + netcoreapp3.1 false - + - + all runtime; build; native; contentfiles; analyzers diff --git a/src/SmartCode.Tests/YamlBuilder_Test.cs b/src/SmartCode.Tests/YamlBuilder_Test.cs index 1ffc4f4..37dcc35 100644 --- a/src/SmartCode.Tests/YamlBuilder_Test.cs +++ b/src/SmartCode.Tests/YamlBuilder_Test.cs @@ -10,7 +10,7 @@ public class YamlBuilder_Test [Fact] public void Build() { - var configPath = @"E:\Ahoo\SmartCode\doc\SmartCode.yml"; + var configPath = @"E:\projects\SmartCode\doc\SmartCode.yml"; YamlBuilder yamlBuilder = new YamlBuilder(configPath); var project = yamlBuilder.Build(); } diff --git a/src/SmartCode/SmartCode.csproj b/src/SmartCode/SmartCode.csproj index b083a2d..1f04d96 100644 --- a/src/SmartCode/SmartCode.csproj +++ b/src/SmartCode/SmartCode.csproj @@ -1,16 +1,16 @@  - netstandard2.0 + netstandard2.1 true SmartCode - + - - + +