diff --git a/src/Core/Core.csproj b/src/Core/Core.csproj
index 72b9f716e7..71733fcfd7 100644
--- a/src/Core/Core.csproj
+++ b/src/Core/Core.csproj
@@ -22,8 +22,8 @@
-
-
+
+
@@ -33,7 +33,7 @@
-
+
@@ -41,13 +41,13 @@
-
+
-
+
diff --git a/util/Setup/Context.cs b/util/Setup/Context.cs
index c76c62f605..1b594c07dd 100644
--- a/util/Setup/Context.cs
+++ b/util/Setup/Context.cs
@@ -116,7 +116,7 @@ namespace Bit.Setup
var configText = File.ReadAllText(ConfigPath);
var deserializer = new DeserializerBuilder()
- .WithNamingConvention(new UnderscoredNamingConvention())
+ .WithNamingConvention(UnderscoredNamingConvention.Instance)
.Build();
Config = deserializer.Deserialize(configText);
}
@@ -128,8 +128,7 @@ namespace Bit.Setup
throw new Exception("Config is null.");
}
var serializer = new SerializerBuilder()
- .EmitDefaults()
- .WithNamingConvention(new UnderscoredNamingConvention())
+ .WithNamingConvention(UnderscoredNamingConvention.Instance)
.WithTypeInspector(inner => new CommentGatheringTypeInspector(inner))
.WithEmissionPhaseObjectGraphVisitor(args => new CommentsObjectGraphVisitor(args.InnerVisitor))
.Build();
diff --git a/util/Setup/Setup.csproj b/util/Setup/Setup.csproj
index 7bed3dd372..aee003997c 100644
--- a/util/Setup/Setup.csproj
+++ b/util/Setup/Setup.csproj
@@ -15,7 +15,7 @@
-
+