|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Strange behaviour with .NET apps with Framework 2.0I have installed the Whidbey CTP Beta2 and now I have strange behaviour with
all .NET apps (also programs which were copiled with .NET 1.0 version): If I close a .NET program regularly using the close os exit button my computer does not respond/is frozen for say ten seconds. I cannot even open the taskmanager to see which process delays the closing. But if I close the app using the taskmanager or the stop button in visual studio while debugging everything is fine, the application stops immediately and my pc is responding. What can that be? Are these programs running under the debugger or in Debug mode? Try with
the Release mode or without the debugger. S. L. Show quoteHide quote "cody" <deutron***@gmx.de> wrote in message news:ei7$JQVFFHA.2568@TK2MSFTNGP10.phx.gbl... >I have installed the Whidbey CTP Beta2 and now I have strange behaviour >with all .NET apps (also programs which were copiled with .NET 1.0 >version): > > If I close a .NET program regularly using the close os exit button my > computer does not respond/is frozen for say ten seconds. I cannot even > open the taskmanager to see which process delays the closing. But if I > close the app using the taskmanager or the stop button in visual studio > while debugging everything is fine, the application stops immediately and > my pc is responding. What can that be? > > The problem occures even if the programs are run without IDE/debugger.
I cannot imagine a reason of such a behaviour. What actions are running on shutdown of an application that require so much ressources? Maybe the shutdown of the CLR? But when I force the apps in taskmanager to exit there is no problem what makes the difference? Show quoteHide quote "Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)> schrieb im Newsbeitrag news:#fL2Q9XFFHA.3312@TK2MSFTNGP15.phx.gbl... > Are these programs running under the debugger or in Debug mode? Try with > the Release mode or without the debugger. > > S. L. > > "cody" <deutron***@gmx.de> wrote in message > news:ei7$JQVFFHA.2568@TK2MSFTNGP10.phx.gbl... > >I have installed the Whidbey CTP Beta2 and now I have strange behaviour > >with all .NET apps (also programs which were copiled with .NET 1.0 > >version): > > > > If I close a .NET program regularly using the close os exit button my > > computer does not respond/is frozen for say ten seconds. I cannot even > > open the taskmanager to see which process delays the closing. But if I > > close the app using the taskmanager or the stop button in visual studio > > while debugging everything is fine, the application stops immediately and > > my pc is responding. What can that be? I have no idea.
The only think that comes to my mind when I read your message is to remembering me of not installing VS2005 Beta2 on anything else than a test machine. S. L. Show quoteHide quote "cody" <deutron***@gmx.de> wrote in message news:ePOwcSZFFHA.1936@TK2MSFTNGP14.phx.gbl... > The problem occures even if the programs are run without IDE/debugger. > I cannot imagine a reason of such a behaviour. What actions are running on > shutdown of an application that require so much ressources? Maybe the > shutdown of the CLR? But when I force the apps in taskmanager to exit > there > is no problem what makes the difference? > > > "Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)> > schrieb im Newsbeitrag news:#fL2Q9XFFHA.3312@TK2MSFTNGP15.phx.gbl... >> Are these programs running under the debugger or in Debug mode? Try with >> the Release mode or without the debugger. >> >> S. L. >> >> "cody" <deutron***@gmx.de> wrote in message >> news:ei7$JQVFFHA.2568@TK2MSFTNGP10.phx.gbl... >> >I have installed the Whidbey CTP Beta2 and now I have strange behaviour >> >with all .NET apps (also programs which were copiled with .NET 1.0 >> >version): >> > >> > If I close a .NET program regularly using the close os exit button my >> > computer does not respond/is frozen for say ten seconds. I cannot even >> > open the taskmanager to see which process delays the closing. But if I >> > close the app using the taskmanager or the stop button in visual studio >> > while debugging everything is fine, the application stops immediately > and >> > my pc is responding. What can that be? > > As far as I can tell there are some applications not affected.
For example all managed DirextX sdk samples are affected as well as GUI applications using the new WinForms classes like MenuStrip and so on (not using Avalon!) Programs compiled with the old VS2003 work without any problems. Iam using WinXP SP 2. Show quoteHide quote "Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)> schrieb im Newsbeitrag news:%23wesAMhFFHA.3664@TK2MSFTNGP15.phx.gbl... >I have no idea. > > The only think that comes to my mind when I read your message is to > remembering me of not installing VS2005 Beta2 on anything else than a test > machine. > > S. L. > > "cody" <deutron***@gmx.de> wrote in message > news:ePOwcSZFFHA.1936@TK2MSFTNGP14.phx.gbl... >> The problem occures even if the programs are run without IDE/debugger. >> I cannot imagine a reason of such a behaviour. What actions are running >> on >> shutdown of an application that require so much ressources? Maybe the >> shutdown of the CLR? But when I force the apps in taskmanager to exit >> there >> is no problem what makes the difference? >> >> >> "Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)> >> schrieb im Newsbeitrag news:#fL2Q9XFFHA.3312@TK2MSFTNGP15.phx.gbl... >>> Are these programs running under the debugger or in Debug mode? Try >>> with >>> the Release mode or without the debugger. >>> >>> S. L. >>> >>> "cody" <deutron***@gmx.de> wrote in message >>> news:ei7$JQVFFHA.2568@TK2MSFTNGP10.phx.gbl... >>> >I have installed the Whidbey CTP Beta2 and now I have strange behaviour >>> >with all .NET apps (also programs which were copiled with .NET 1.0 >>> >version): >>> > >>> > If I close a .NET program regularly using the close os exit button my >>> > computer does not respond/is frozen for say ten seconds. I cannot even >>> > open the taskmanager to see which process delays the closing. But if I >>> > close the app using the taskmanager or the stop button in visual >>> > studio >>> > while debugging everything is fine, the application stops immediately >> and >>> > my pc is responding. What can that be? >> >> > >
Other interesting topics
Deserialization constructor
Exception with HttpWebRequest.GetResponse Writing a windows service with a socket interface. Dynamicly refrence a .NET DLL State of Objects... limits for filestreams (C#) Command to terminate execution Error Occurs When using ADO.NET OLEDbDataAdapter to Modify Excel windows service : Error 2186 Control whethever the userControl can be resize ? |
|||||||||||||||||||||||