Skip to content

Commit 34f5919

Browse files
committed
Fix: File not found when the solution is opened
1 parent a73cf78 commit 34f5919

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ExtensionManager/Features/Install/InstallFeatureBase.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System;
22
using System.Collections.Generic;
3+
using System.IO;
34
using System.Threading;
45
using System.Threading.Tasks;
56

@@ -52,6 +53,9 @@ public async Task ExecuteAsync()
5253
if (filePath is null or { Length: 0 })
5354
return;
5455

56+
if (!File.Exists(filePath))
57+
return;
58+
5559
var installedExtensions = await Extensions.GetInstalledExtensionsAsync().ConfigureAwait(false);
5660
var manifest = await ManifestService.ReadAsync(filePath).ConfigureAwait(false);
5761

0 commit comments

Comments
 (0)