How to stop "the build must be stopped before the solution can be closed"
The Build menu appears as if the solution was being built, but the Cancel Build
( Ctrl+ Break) menu item has no effect.
Trying to close an application called like:
The build must be stopped before the solution can be closed.
Can anyone help me solve this problem?
Do this, find the msbuild
process and kill them before devenv
. And make sure vbc is really gone too ....
For any subsequent crashes that are often sent to Microsoft so they can fix the error ...
Hoping this helped ...
I had this problem and I think I found out why.
I was drawing the path outside the bitmap and this was overwriting some memory location that was affecting Visual Studio.
I added a line of code as safety while testing, which I was looking for when writing a bitmap. Top <0 or write> bitmap.Width or> bitmap.Height.
This is supposed to be hijacked by Visual Studio, but I think this is happening.
In line C, it is called a wild pointer.