diff --git a/FreeSql/Extensions/DynamicEntityExtensions.cs b/FreeSql/Extensions/DynamicEntityExtensions.cs
index 83742fa53..7a675217c 100644
--- a/FreeSql/Extensions/DynamicEntityExtensions.cs
+++ b/FreeSql/Extensions/DynamicEntityExtensions.cs
@@ -1,6 +1,6 @@
// by: Daily
-#if net40
+#if net40 || NETSTANDARD2_0
#else
using FreeSql;
diff --git a/FreeSql/FreeSql.csproj b/FreeSql/FreeSql.csproj
index 40f0b2e39..a19ed6c0b 100644
--- a/FreeSql/FreeSql.csproj
+++ b/FreeSql/FreeSql.csproj
@@ -73,10 +73,6 @@
1701;1702;1591
-
-
-
-
net40