diff --git a/NewLife.IoT/NewLife.IoT.csproj b/NewLife.IoT/NewLife.IoT.csproj
index 745f56c..0f98830 100644
--- a/NewLife.IoT/NewLife.IoT.csproj
+++ b/NewLife.IoT/NewLife.IoT.csproj
@@ -50,7 +50,7 @@
-
+
diff --git a/NewLife.IoT/TypeHelper.cs b/NewLife.IoT/TypeHelper.cs
index 7045675..22386f9 100644
--- a/NewLife.IoT/TypeHelper.cs
+++ b/NewLife.IoT/TypeHelper.cs
@@ -240,6 +240,7 @@ public static IDictionary GetIoTTypes(Boolean full = false)
}
}
+#if NET40
///
/// 指定类型是否数字类型。包括整数、小数、字节、字符等
///
@@ -262,4 +263,5 @@ public static Boolean IsNumber(this Type type)
_ => false,
};
}
+#endif
}
\ No newline at end of file