Visual C# (2010) Slow between Build Succeeded and run (Custom controls) -


since created extended controls in large application (wforms) vs started taking time (+30s) between succesful build , actual run of program.

  • when build, or run program, there no problem. it's when debugging
  • when debugging - closing application - start debugging again (without changes), timing normal.

i believe tried every provided solution in stackoverflow: visual studio debugging/loading slow

the "extended controls" like:

class extendedcheckbox : system.windows.forms.checkbox {     private short? softaddressp = null;     private byte? bitnumberp = null;      public short? softaddress     {         { return softaddressp; }         set { softaddressp = value; }     }      public byte? bitnumber     {         { return bitnumberp; }         set { bitnumberp = value; }     } } 

i following output when debugging:

'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\microsoft.net\assembly\gac_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\assembly\gac_msil\microsoft.visualstudio.hostingprocess.utilities\10.0.0.0__b03f5f7f11d50a3a\microsoft.visualstudio.hostingprocess.utilities.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\microsoft.net\assembly\gac_msil\system.windows.forms\v4.0_4.0.0.0__b77a5c561934e089\system.windows.forms.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\microsoft.net\assembly\gac_msil\system.drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\system.drawing.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\microsoft.net\assembly\gac_msil\system\v4.0_4.0.0.0__b77a5c561934e089\system.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\assembly\gac_msil\microsoft.visualstudio.hostingprocess.utilities.sync\10.0.0.0__b03f5f7f11d50a3a\microsoft.visualstudio.hostingprocess.utilities.sync.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\assembly\gac_msil\microsoft.visualstudio.debugger.runtime\10.0.0.0__b03f5f7f11d50a3a\microsoft.visualstudio.debugger.runtime.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\documents , settings\stage electro\desktop\diagnosev3\diagnosev3\bin\debug\diagnosev3.vshost.exe', skipped loading symbols. module optimized , debugger option 'just code' enabled. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\microsoft.net\assembly\gac_msil\microsoft.visualbasic\v4.0_10.0.0.0__b03f5f7f11d50a3a\microsoft.visualbasic.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\microsoft.net\assembly\gac_msil\system.core\v4.0_4.0.0.0__b77a5c561934e089\system.core.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\assembly\gac_msil\system.data.sqlserverce\3.5.1.0__89845dcd8080cc91\system.data.sqlserverce.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\microsoft.net\assembly\gac_msil\system.management\v4.0_4.0.0.0__b03f5f7f11d50a3a\system.management.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\microsoft.net\assembly\gac_32\system.transactions\v4.0_4.0.0.0__b77a5c561934e089\system.transactions.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\microsoft.net\assembly\gac_msil\system.windows.forms.datavisualization\v4.0_4.0.0.0__31bf3856ad364e35\system.windows.forms.datavisualization.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\microsoft.net\assembly\gac_msil\system.xml.linq\v4.0_4.0.0.0__b77a5c561934e089\system.xml.linq.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\microsoft.net\assembly\gac_msil\system.data.datasetextensions\v4.0_4.0.0.0__b77a5c561934e089\system.data.datasetextensions.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\microsoft.net\assembly\gac_msil\microsoft.csharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\microsoft.csharp.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\microsoft.net\assembly\gac_32\system.data\v4.0_4.0.0.0__b77a5c561934e089\system.data.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\microsoft.net\assembly\gac_msil\system.xml\v4.0_4.0.0.0__b77a5c561934e089\system.xml.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. thread 'vshost.notifyload' (0x118c) has exited code 0 (0x0). thread '<no name>' (0xd2c) has exited code 0 (0x0). thread '<no name>' (0x330) has exited code 0 (0x0). thread 'vshost.loadreference' (0x120c) has exited code 0 (0x0). 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\documents , settings\stage electro\desktop\diagnosev3\diagnosev3\bin\debug\diagnosev3.exe', symbols loaded. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\microsoft.net\assembly\gac_msil\system.configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\system.configuration.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\microsoft.net\assembly\gac_32\system.enterpriseservices\v4.0_4.0.0.0__b03f5f7f11d50a3a\system.enterpriseservices.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\microsoft.net\assembly\gac_32\system.enterpriseservices\v4.0_4.0.0.0__b03f5f7f11d50a3a\system.enterpriseservices.wrapper.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\microsoft.net\assembly\gac_msil\system.deployment\v4.0_4.0.0.0__b03f5f7f11d50a3a\system.deployment.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. 'diagnosev3.vshost.exe' (managed (v4.0.30319)): loaded 'c:\windows\microsoft.net\assembly\gac_msil\system.numerics\v4.0_4.0.0.0__b77a5c561934e089\system.numerics.dll', skipped loading symbols. module optimized , debugger option 'just code' enabled. 

to clear: when debugging - closing application - start debugging again (without changes), timing normal.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -