Skip to content

Commit 6a48673

Browse files
committed
Merge branch 'main' of github.com:EgorBo/Disasmo into main
2 parents 19dbb59 + bef13ee commit 6a48673

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Vsix/ViewModels/MainViewModel.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,12 @@ public async void RunOperationAsync(ISymbol symbol)
546546

547547
// Find Release-x64 configuration:
548548
Project currentProject = dte.GetActiveProject();
549+
if (currentProject is null)
550+
{
551+
Output = "There no active project. Please re-open solution.";
552+
return;
553+
}
554+
549555
IProjectProperties projectProperties = await IdeUtils.GetProjectProperties(GetUnconfiguredProject(currentProject), "Release");
550556

551557
ThrowIfCanceled();

0 commit comments

Comments
 (0)