From bc11886d6b9c0d5bcfb13d6180b8eb37ba083720 Mon Sep 17 00:00:00 2001 From: Osvaldo Calles Date: Tue, 27 Sep 2022 16:38:53 -0700 Subject: [PATCH] Increase version of asset cache file format to 11 Cache assets file now contains DebugSymbolsFiles and ReferenceDocumentationFiles --- src/Tasks/Microsoft.NET.Build.Tasks/ResolvePackageAssets.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/ResolvePackageAssets.cs b/src/Tasks/Microsoft.NET.Build.Tasks/ResolvePackageAssets.cs index a9880dbd8fc7..4ee121675e0c 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/ResolvePackageAssets.cs +++ b/src/Tasks/Microsoft.NET.Build.Tasks/ResolvePackageAssets.cs @@ -304,7 +304,7 @@ public sealed class ResolvePackageAssets : TaskBase //////////////////////////////////////////////////////////////////////////////////////////////////// private const int CacheFormatSignature = ('P' << 0) | ('K' << 8) | ('G' << 16) | ('A' << 24); - private const int CacheFormatVersion = 10; + private const int CacheFormatVersion = 11; private static readonly Encoding TextEncoding = Encoding.UTF8; private const int SettingsHashLength = 256 / 8; private HashAlgorithm CreateSettingsHash() => SHA256.Create();