build must be stopped before the solution can be closed...

  • Thread starter Thread starter a
  • Start date Start date
A

a

Sometimes I get this message and it appears that VS .NET 2003 has locked
up waiting to transfer a project to the handheld. I end up having to
Kill Visual Studio.

I've waited for 20+ minutes hoping for it to come back. ActiveSync is
up and running. Has anyone else dealt with this? Is there a way to
cancel the build without terminating the IDE? The Cancel build button
does not work, and attempting to exit always shows the same message.

Here's the dialog in Ascii :)
------------------------------------------------------------------
Microsoft Development Environment X

/!\ The build must be stopped before the solution can be closed

[ OK ]
 
This typically happens when VS.Net 2003 is trying to overwrite a file which
is locked on device during the deployment step. It is common to be
developing and
testing program, at some point the program bombs, it appears to terminate on
device, but
the .exe still has a lock on it. Explicitly killing the program on device
in the
Memory-->Running Programs list is first thing to try. If the program
doesn't show
up in the list of running programs (also look for any other forms that may
have been
instantiated but are now orphaned and kill those too), soft-resetting the
device will often
get you past this. If neither of those work, you do have to restart VS.Net
2003.

-Darren Shaffer
 
Thank you very much. That is what I thought was happening, I was just
worried it might have been my causing it. It happens often enough to be
annoying, but not often enough to perceive a pattern.

I'll just keep killing things and perhaps add an auto-save macro before
each build...

Darren said:
This typically happens when VS.Net 2003 is trying to overwrite a file which
is locked on device during the deployment step. It is common to be
developing and
testing program, at some point the program bombs, it appears to terminate on
device, but
the .exe still has a lock on it. Explicitly killing the program on device
in the
Memory-->Running Programs list is first thing to try. If the program
doesn't show
up in the list of running programs (also look for any other forms that may
have been
instantiated but are now orphaned and kill those too), soft-resetting the
device will often
get you past this. If neither of those work, you do have to restart VS.Net
2003.

-Darren Shaffer

Sometimes I get this message and it appears that VS .NET 2003 has locked
up waiting to transfer a project to the handheld. I end up having to Kill
Visual Studio.

I've waited for 20+ minutes hoping for it to come back. ActiveSync is up
and running. Has anyone else dealt with this? Is there a way to cancel
the build without terminating the IDE? The Cancel build button does not
work, and attempting to exit always shows the same message.

Here's the dialog in Ascii :)
------------------------------------------------------------------
Microsoft Development Environment X

/!\ The build must be stopped before the solution can be closed

[ OK ]
 
Back
Top