diff --git a/src/Microsoft.EntityFrameworkCore.Design.Core/Properties/DesignCoreStrings.Designer.cs b/src/Microsoft.EntityFrameworkCore.Design.Core/Properties/DesignCoreStrings.Designer.cs
index 83ccd6c8dc4..261e0456cbd 100644
--- a/src/Microsoft.EntityFrameworkCore.Design.Core/Properties/DesignCoreStrings.Designer.cs
+++ b/src/Microsoft.EntityFrameworkCore.Design.Core/Properties/DesignCoreStrings.Designer.cs
@@ -381,9 +381,9 @@ public static string InvokeStartupMethodFailed([CanBeNull] object method, [CanBe
///
/// Could not serialize {obj} [{name}]
///
- public static string CouldNotSerialize ([CanBeNull] object obj, [CanBeNull] object name)
+ public static string CouldNotSerialize([CanBeNull] object obj, [CanBeNull] object name)
{
- return string.Format(CultureInfo.CurrentCulture, GetString("CouldNotSerialize ", "obj", "name"), obj, name);
+ return string.Format(CultureInfo.CurrentCulture, GetString("CouldNotSerialize", "obj", "name"), obj, name);
}
private static string GetString(string name, params string[] formatterNames)
diff --git a/src/Microsoft.EntityFrameworkCore.Design.Core/Properties/DesignCoreStrings.resx b/src/Microsoft.EntityFrameworkCore.Design.Core/Properties/DesignCoreStrings.resx
index 647211468b8..d34fe3130b5 100644
--- a/src/Microsoft.EntityFrameworkCore.Design.Core/Properties/DesignCoreStrings.resx
+++ b/src/Microsoft.EntityFrameworkCore.Design.Core/Properties/DesignCoreStrings.resx
@@ -255,7 +255,7 @@ Change your target project to the migrations project by using the Package Manage
An error occurred while calling method '{method}' on startup class '{startupClass}'. Consider using IDbContextFactory to override the initialization of the DbContext at design-time. Error: {error}
-
+
Could not serialize {obj} [{name}]
\ No newline at end of file