Skip to content

Commit 05f5c8d

Browse files
committed
Also detect localdb 15
1 parent 616b577 commit 05f5c8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Umbraco.Infrastructure/Persistence/LocalDb.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ private void DetectVersion()
103103

104104
if (string.IsNullOrWhiteSpace(programFiles)) return;
105105

106-
// detect 14, 13, 12, 11
107-
for (var i = 14; i > 10; i--)
106+
// detect 15, 14, 13, 12, 11
107+
for (var i = 15; i > 10; i--)
108108
{
109109
var exe = Path.Combine(programFiles, $@"Microsoft SQL Server\{i}0\Tools\Binn\SqlLocalDB.exe");
110110
if (File.Exists(exe) == false) continue;

0 commit comments

Comments
 (0)