dotnet / dotnet/project-system

Visual Studio status bar stuck in "Building" state bug

Open
#7,254 3 comments 0 reactions 0 assignees View on GitHub
Triage-Investigate
Dominant language
C#
Stars
1k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

**Visual Studio Version**:

Microsoft Visual Studio Enterprise 2019
Version 16.9.5
VisualStudio.16.Release/16.9.5+31229.75
Microsoft .NET Framework
Version 4.8.04084

Installed Version: Enterprise

**Summary**:

I found a small bug in Visual Studio, it should be pretty easy to recreate. If you open a _.csproj_, that does not yet belong to a _.sln_ and build. It will prompt you to create/save a new _.sln_ file. However, there is already an in-memory solution that is loaded just not yet persisted to disc. This can cause another dialog, which offers to "Save as", "Overwrite", "Cancel" and something else I can't recall. I choose overwrite, it saved - but remember... I was in the context of a build.

The status bar shows that it's building - but never actually does. The menu options show that build is available, so a build will clear it out. But the status will not update otherwise. Not sure if that's an important one or not

**Expected Behavior**:

The status bar state should have been cleared / reset.

**Actual Behavior**:

The status bar reporting that it was "Building"

**User Impact**:

It was confusing and misleading at first, took me a bit to realize that it wasn't actually building. As the build menu items were again enabled.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.