diff --git a/src/Microsoft.SymbolManifestGenerator/SymbolManifestGenerator.cs b/src/Microsoft.SymbolManifestGenerator/SymbolManifestGenerator.cs index e30c82d3fe..d83aa621d0 100644 --- a/src/Microsoft.SymbolManifestGenerator/SymbolManifestGenerator.cs +++ b/src/Microsoft.SymbolManifestGenerator/SymbolManifestGenerator.cs @@ -14,7 +14,7 @@ namespace Microsoft.SymbolManifestGenerator; public static class SymbolManifestGenerator { - private const int Private = 340; + private const int TargetDebugLevel = 0x154 | 0x1 | 0x500; // Private | Binary | SourceIndexed public static bool GenerateManifest(ITracer tracer, DirectoryInfo dir, string manifestFileName, bool specialFilesRequireAdjacentRuntime = true) { @@ -63,8 +63,7 @@ public static bool GenerateManifest(ITracer tracer, DirectoryInfo dir, string ma BasedirRelativePath = basedirRelativePath, SymbolKey = runtimeCorrelatedKey.Index, Sha512 = fileHash, - DebugInformationLevel = Private, - LegacyDebugInformationLevel = Private + DebugInformationLevel = TargetDebugLevel }; manifestData.Entries.Add(manifestDataEntry); @@ -143,7 +142,5 @@ private class ManifestDataEntry public string SymbolKey { get; set; } public string Sha512 { get; set; } public int DebugInformationLevel { get; set; } - [JsonPropertyName("DebugInformationLevel")] - public int LegacyDebugInformationLevel { get; set; } } }