Reputation: 137782
In Visual Studio, how do I stop a build?
The build must be stopped before the solution can be closed.
I found this article on MSDN http://msdn.microsoft.com/en-us/library/bb399140.aspx but it's about Team Fortress Server rather than Visual Studio
Upvotes: 33
Views: 23236
Reputation: 71
I had this trouble on a .NET MAUI project in VS 2022, and it would not stop with the ctrl+break, or the Build > Cancel menu item. Here was how I found I could clear it-
This should pull VS out of being in the build state (screenshot below)-
Upvotes: 1
Reputation: 113
Ctrl + Break works mostly. In some keyboard 'Break' key may only have the wording 'Pause'.
In case the build is 'Queued', Right-click an in-progress build definition name in the Queued tab of Build Explorer, and then click Stop on the drop-down menu. Alternately, you can click the Stop icon in the toolbar of the Queued tab of Build Explorer.
Upvotes: 1