PC Review


Reply
Thread Tools Rate Thread

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

 
 
a
Guest
Posts: n/a
 
      13th Dec 2004
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 ]

------------------------------------------------------------------

- Russ
 
Reply With Quote
 
 
 
 
Darren Shaffer
Guest
Posts: n/a
 
      13th Dec 2004
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

"a" <"russell(a)ryba.net"> wrote in message
news:%(E-Mail Removed)...
> 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 ]
>
> ------------------------------------------------------------------
>
> - Russ



 
Reply With Quote
 
a
Guest
Posts: n/a
 
      15th Dec 2004
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 Shaffer wrote:
> 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
>
> "a" <"russell(a)ryba.net"> wrote in message
> news:%(E-Mail Removed)...
>
>>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 ]
>>
>>------------------------------------------------------------------
>>
>>- Russ

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
To build a project which is in solution but not selected for build in solution configuration through MSBuild. Mushq Microsoft Dot NET 0 26th Jul 2007 11:37 AM
VB.Net 2003 - Build Solution vs Re-Build Solution =?Utf-8?B?RGVubmlz?= Microsoft VB .NET 2 19th Jan 2006 01:36 AM
Build help files as part of solution/project/deployment build? james@microsec.co.uk Microsoft Dot NET 1 11th Mar 2005 12:20 AM
Build Solution vs. ReBuild Solution Microsoft VB .NET 2 4th Feb 2005 01:19 PM
Build & Build Solution, Visual Studio 2003 =?Utf-8?B?R2VSbUlj?= Microsoft C# .NET 3 22nd Dec 2004 05:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:24 PM.