diff --git a/Files/ViewModels/Properties/FileProperty.cs b/Files/ViewModels/Properties/FileProperty.cs index dbbefde047f40..ac765f239404d 100644 --- a/Files/ViewModels/Properties/FileProperty.cs +++ b/Files/ViewModels/Properties/FileProperty.cs @@ -296,9 +296,10 @@ public async static Task> RetrieveAndInitializePropertiesAsyn keyValuePairs.Add(prop, val); } #else + IDictionary keyValuePairs = new Dictionary(); if (file.Properties != null) { - var keyValuePairs = await file.Properties.RetrievePropertiesAsync(propsToGet); + keyValuePairs = await file.Properties.RetrievePropertiesAsync(propsToGet); } #endif foreach (var prop in list)