diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 7ab398c33e9..a53dca90094 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -1,49 +1,49 @@ - + https://github.com/dotnet/runtime - 9671726c0a79d5f4cab320b32da1cd4463a0d1be + b7e10374429b5af32debc4660aa9bce41cfb903e - + https://github.com/dotnet/runtime - 9671726c0a79d5f4cab320b32da1cd4463a0d1be + b7e10374429b5af32debc4660aa9bce41cfb903e - + https://github.com/dotnet/runtime - 9671726c0a79d5f4cab320b32da1cd4463a0d1be + b7e10374429b5af32debc4660aa9bce41cfb903e - + https://github.com/dotnet/runtime - 9671726c0a79d5f4cab320b32da1cd4463a0d1be + b7e10374429b5af32debc4660aa9bce41cfb903e - + https://github.com/dotnet/runtime - 9671726c0a79d5f4cab320b32da1cd4463a0d1be + b7e10374429b5af32debc4660aa9bce41cfb903e - + https://github.com/dotnet/runtime - 9671726c0a79d5f4cab320b32da1cd4463a0d1be + b7e10374429b5af32debc4660aa9bce41cfb903e - + https://github.com/dotnet/runtime - 9671726c0a79d5f4cab320b32da1cd4463a0d1be + b7e10374429b5af32debc4660aa9bce41cfb903e - + https://github.com/dotnet/runtime - 9671726c0a79d5f4cab320b32da1cd4463a0d1be + b7e10374429b5af32debc4660aa9bce41cfb903e - + https://github.com/dotnet/runtime - 9671726c0a79d5f4cab320b32da1cd4463a0d1be + b7e10374429b5af32debc4660aa9bce41cfb903e - + https://github.com/dotnet/runtime - 9671726c0a79d5f4cab320b32da1cd4463a0d1be + b7e10374429b5af32debc4660aa9bce41cfb903e - + https://github.com/dotnet/runtime - 9671726c0a79d5f4cab320b32da1cd4463a0d1be + b7e10374429b5af32debc4660aa9bce41cfb903e diff --git a/eng/Versions.props b/eng/Versions.props index 32bf0bffa9d..84d4ff6f7ae 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -15,17 +15,17 @@ False - 7.0.0-alpha.1.21430.3 - 7.0.0-alpha.1.21430.3 - 7.0.0-alpha.1.21430.3 - 7.0.0-alpha.1.21430.3 - 7.0.0-alpha.1.21430.3 - 7.0.0-alpha.1.21430.3 - 7.0.0-alpha.1.21430.3 - 7.0.0-alpha.1.21430.3 - 7.0.0-alpha.1.21430.3 - 7.0.0-alpha.1.21430.3 - 7.0.0-alpha.1.21430.3 + 7.0.0-alpha.1.21456.1 + 7.0.0-alpha.1.21456.1 + 7.0.0-alpha.1.21456.1 + 7.0.0-alpha.1.21456.1 + 7.0.0-alpha.1.21456.1 + 7.0.0-alpha.1.21456.1 + 7.0.0-alpha.1.21456.1 + 7.0.0-alpha.1.21456.1 + 7.0.0-alpha.1.21456.1 + 7.0.0-alpha.1.21456.1 + 7.0.0-alpha.1.21456.1 3.7.0 diff --git a/src/EFCore.Sqlite.Core/Infrastructure/SpatialiteLoader.cs b/src/EFCore.Sqlite.Core/Infrastructure/SpatialiteLoader.cs index eaac6d0250c..cb7dece454d 100644 --- a/src/EFCore.Sqlite.Core/Infrastructure/SpatialiteLoader.cs +++ b/src/EFCore.Sqlite.Core/Infrastructure/SpatialiteLoader.cs @@ -127,7 +127,7 @@ private static void FindExtension() var candidateAssets = new Dictionary<(string, string), int>(); var rid = RuntimeInformation.RuntimeIdentifier; var rids = DependencyContext.Default!.RuntimeGraph.FirstOrDefault(g => g.Runtime == rid)?.Fallbacks.ToList() - ?? new List(); + ?? new List(); rids.Insert(0, rid); foreach (var library in DependencyContext.Default.RuntimeLibraries) @@ -142,7 +142,7 @@ private static void FindExtension() StringComparison.OrdinalIgnoreCase)) { var fallbacks = rids.IndexOf(group.Runtime); - if (fallbacks != -1) + if (fallbacks != -1 && library.Path is not null) { candidateAssets.Add((library.Path, file.Path), fallbacks); }