diff --git a/CodeQuality.props b/CodeQuality.props
index cf57b8b..314e91e 100644
--- a/CodeQuality.props
+++ b/CodeQuality.props
@@ -9,7 +9,7 @@
true
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/src/NSExt.Tests/NSExt.Tests.csproj b/src/NSExt.Tests/NSExt.Tests.csproj
index 0fc2eab..18c41ba 100644
--- a/src/NSExt.Tests/NSExt.Tests.csproj
+++ b/src/NSExt.Tests/NSExt.Tests.csproj
@@ -1,9 +1,9 @@
-
-
+
+
-
+
\ No newline at end of file
diff --git a/src/NSExt/Extensions/StringExtensions.cs b/src/NSExt/Extensions/StringExtensions.cs
index ea9c1a1..c826bba 100644
--- a/src/NSExt/Extensions/StringExtensions.cs
+++ b/src/NSExt/Extensions/StringExtensions.cs
@@ -495,6 +495,14 @@ public static class StringExtensions
return $"{me}
";
}
+ ///
+ /// ToString 的 Invariant 版本
+ ///
+ public static string ToInvString(this string me)
+ {
+ return me.ToString(CultureInfo.InvariantCulture);
+ }
+
///
/// 首字母小写
///
diff --git a/src/NSExt/NSExt.csproj b/src/NSExt/NSExt.csproj
index b13a53b..5b63f16 100644
--- a/src/NSExt/NSExt.csproj
+++ b/src/NSExt/NSExt.csproj
@@ -1,5 +1,5 @@
-
+
../../key.snk
false
@@ -23,13 +23,13 @@
$(AssemblyName)
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
\ No newline at end of file