diff --git a/src/NerdBank.GitVersioning/NerdBank.GitVersioning.csproj b/src/NerdBank.GitVersioning/NerdBank.GitVersioning.csproj index 86ce704e..374c0e29 100644 --- a/src/NerdBank.GitVersioning/NerdBank.GitVersioning.csproj +++ b/src/NerdBank.GitVersioning/NerdBank.GitVersioning.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/NerdBank.GitVersioning/VersionOptions.cs b/src/NerdBank.GitVersioning/VersionOptions.cs index 8f0643d8..9ba71aff 100644 --- a/src/NerdBank.GitVersioning/VersionOptions.cs +++ b/src/NerdBank.GitVersioning/VersionOptions.cs @@ -7,7 +7,6 @@ using System.Reflection; using Newtonsoft.Json; using Newtonsoft.Json.Converters; - using Newtonsoft.Json.Serialization; using Validation; /// @@ -209,7 +208,7 @@ public static JsonSerializerSettings GetJsonSettings(bool includeDefaults = fals new VersionConverter(), new SemanticVersionJsonConverter(), new AssemblyVersionOptionsConverter(includeDefaults), - new StringEnumConverter() { NamingStrategy = new CamelCaseNamingStrategy() }, + new StringEnumConverter() { CamelCaseText = true }, }, ContractResolver = new VersionOptionsContractResolver {