diff --git a/src/Microsoft.DotNet.SharedFramework.Sdk/src/CreateFrameworkListFile.cs b/src/Microsoft.DotNet.SharedFramework.Sdk/src/CreateFrameworkListFile.cs index 8e46d1f9449..90bd96b13af 100644 --- a/src/Microsoft.DotNet.SharedFramework.Sdk/src/CreateFrameworkListFile.cs +++ b/src/Microsoft.DotNet.SharedFramework.Sdk/src/CreateFrameworkListFile.cs @@ -148,7 +148,7 @@ public override bool Execute() StringBuilder publicKeyTokenBuilder = new StringBuilder(len * 2); for (int i = 0; i < len; i++) { - publicKeyTokenBuilder.Append(publicKeyToken[i].ToString("x", CultureInfo.InvariantCulture)); + publicKeyTokenBuilder.Append(publicKeyToken[i].ToString("x2", CultureInfo.InvariantCulture)); } publicKeyTokenHex = publicKeyTokenBuilder.ToString(); }