Skip to content

Commit c005673

Browse files
authored
Merge pull request #11394 from umbraco/v9/bugfix/support_localdb_15
Also detect localdb 15
2 parents 434ce0f + 05f5c8d commit c005673

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)