@Pierre - J'ai exécuté ProcMon sur devenv.exe et j'ai chronométré la fermeture de l'application. Les résultats sont intéressants. Il a pendu pendant 15 secondes, et vous pouvez voir le coup dans ProcMon. De 8:45:31 à 8:45:46, aucune activité n'est enregistrée. Je vais mess avec le filtre à ProcMon et voir si elle est quelque chose en dehors de devenv.exe, mais voici ce que j'ai enregistré de devenv.exe vers le 15 deuxième travée:
8:45:31.0221244 AM devenv.exe 7096 QueryNameInformationFile D:\Working\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe BUFFER OVERFLOW Name: \W
8:45:31.0227991 AM devenv.exe 7096 CreateFile D:\Working\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.Manifest NAME NOT FOUND Desired Access: Generic Read/Execute, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, AllocationSize: n/a
8:45:46.7647624 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\CLSID\{141243A4-76E6-4FC3-A114-EAE02389304E} NAME NOT FOUND Desired Access: Read
8:45:46.7647792 AM devenv.exe 7096 RegOpenKey HKCR\CLSID\{141243A4-76E6-4FC3-A114-EAE02389304E} NAME NOT FOUND Desired Access: Read
8:45:46.7649139 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\CLSID\{141243A4-76E6-4FC3-A114-EAE02389304E} NAME NOT FOUND Desired Access: Read
8:45:46.7649264 AM devenv.exe 7096 RegOpenKey HKCR\CLSID\{141243A4-76E6-4FC3-A114-EAE02389304E} NAME NOT FOUND Desired Access: Read
8:45:46.9834610 AM devenv.exe 7096 RegQueryValue HKCU\Software\Microsoft\VisualStudio\9.0\UseMRUDocOrdering NAME NOT FOUND Length: 144
8:45:46.9835087 AM devenv.exe 7096 RegQueryValue HKLM\SOFTWARE\Microsoft\VisualStudio\9.0\UseMRUDocOrdering NAME NOT FOUND Length: 144
8:45:46.9865681 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\ReSharper.ReSharper_MoveLeft NAME NOT FOUND Desired Access: Read
8:45:46.9865881 AM devenv.exe 7096 RegOpenKey HKCR\ReSharper.ReSharper_MoveLeft NAME NOT FOUND Desired Access: Read
8:45:46.9866155 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\ReSharper.ReSharper_MoveLeft NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9866285 AM devenv.exe 7096 RegOpenKey HKCR\ReSharper.ReSharper_MoveLeft NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9869661 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\ReSharper.ReSharper_MoveRight NAME NOT FOUND Desired Access: Read
8:45:46.9869813 AM devenv.exe 7096 RegOpenKey HKCR\ReSharper.ReSharper_MoveRight NAME NOT FOUND Desired Access: Read
8:45:46.9870055 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\ReSharper.ReSharper_MoveRight NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9870177 AM devenv.exe 7096 RegOpenKey HKCR\ReSharper.ReSharper_MoveRight NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9872667 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\ReSharper.ReSharper_MoveUp NAME NOT FOUND Desired Access: Read
8:45:46.9872818 AM devenv.exe 7096 RegOpenKey HKCR\ReSharper.ReSharper_MoveUp NAME NOT FOUND Desired Access: Read
8:45:46.9873078 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\ReSharper.ReSharper_MoveUp NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9873207 AM devenv.exe 7096 RegOpenKey HKCR\ReSharper.ReSharper_MoveUp NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9875683 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\ReSharper.ReSharper_MoveDown NAME NOT FOUND Desired Access: Read
8:45:46.9875873 AM devenv.exe 7096 RegOpenKey HKCR\ReSharper.ReSharper_MoveDown NAME NOT FOUND Desired Access: Read
8:45:46.9876141 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\ReSharper.ReSharper_MoveDown NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9876276 AM devenv.exe 7096 RegOpenKey HKCR\ReSharper.ReSharper_MoveDown NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9912375 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\CLSID\{00020424-0000-0000-C000-000000000046}\TreatAs NAME NOT FOUND Desired Access: Query Value
8:45:46.9912529 AM devenv.exe 7096 RegOpenKey HKCR\CLSID\{00020424-0000-0000-C000-000000000046}\TreatAs NAME NOT FOUND Desired Access: Query Value
8:45:46.9914799 AM devenv.exe 7096 RegOpenKey HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-21-2966119792-2635991036-4117835597-414090\Installer\Features\7F9CD27BF7173A842A185F81E7100860 NAME NOT FOUND Desired Access: Read
8:45:46.9915751 AM devenv.exe 7096 RegOpenKey HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-21-2966119792-2635991036-4117835597-414090\Installer\Features\7F9CD27BF7173A842A185F81E7100860 NAME NOT FOUND Desired Access: Read
8:45:46.9916485 AM devenv.exe 7096 RegEnumValue HKCU\Software\Microsoft\Installer\Features\7F9CD27BF7173A842A185F81E7100860 NO MORE ENTRIES Index: 1, Length: 220
8:45:46.9916921 AM devenv.exe 7096 RegQueryValue HKCU\Software\Microsoft\Windows\CurrentVersion\Group Policy\AppMgmt\{B72DC9F7-717F-48A3-A281-F5187E018006} NAME NOT FOUND Length: 144
8:45:46.9917220 AM devenv.exe 7096 RegOpenKey HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-21-2966119792-2635991036-4117835597-414090\Installer\Features\7F9CD27BF7173A842A185F81E7100860 NAME NOT FOUND Desired Access: Read
8:45:46.9918086 AM devenv.exe 7096 RegOpenKey HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-21-2966119792-2635991036-4117835597-414090\Installer\Features\7F9CD27BF7173A842A185F81E7100860 NAME NOT FOUND Desired Access: Read
8:45:46.9918661 AM devenv.exe 7096 RegEnumValue HKCU\Software\Microsoft\Installer\Features\7F9CD27BF7173A842A185F81E7100860 NO MORE ENTRIES Index: 1, Length: 220
8:45:46.9919019 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\CLSID\{00020424-0000-0000-C000-000000000046}\LocalServer32 NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9919204 AM devenv.exe 7096 RegOpenKey HKCR\CLSID\{00020424-0000-0000-C000-000000000046}\LocalServer32 NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9919447 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\CLSID\{00020424-0000-0000-C000-000000000046}\InprocHandler32 NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9919595 AM devenv.exe 7096 RegOpenKey HKCR\CLSID\{00020424-0000-0000-C000-000000000046}\InprocHandler32 NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9919825 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\CLSID\{00020424-0000-0000-C000-000000000046}\InprocHandlerX86 NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9919969 AM devenv.exe 7096 RegOpenKey HKCR\CLSID\{00020424-0000-0000-C000-000000000046}\InprocHandlerX86 NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9920191 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\CLSID\{00020424-0000-0000-C000-000000000046}\LocalServer32 NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9920322 AM devenv.exe 7096 RegOpenKey HKCR\CLSID\{00020424-0000-0000-C000-000000000046}\LocalServer32 NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9920543 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\CLSID\{00020424-0000-0000-C000-000000000046}\LocalServer NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9920677 AM devenv.exe 7096 RegOpenKey HKCR\CLSID\{00020424-0000-0000-C000-000000000046}\LocalServer NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9921310 AM devenv.exe 7096 RegQueryValue HKCU\Software\Classes\CLSID\{00020424-0000-0000-C000-000000000046}\AppID NAME NOT FOUND Length: 144
8:45:46.9921387 AM devenv.exe 7096 RegQueryValue HKCR\CLSID\{00020424-0000-0000-C000-000000000046}\AppID NAME NOT FOUND Length: 144
8:45:46.9921910 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\Interface\{A6FAF38C-284B-48B3-B871-84B9A66010E9}\ProxyStubClsid32 NAME NOT FOUND Desired Access: Query Value
8:45:46.9922398 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\Interface\{A6FAF38C-284B-48B3-B871-84B9A66010E9}\ProxyStubClsid32 NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9922774 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\Interface\{A6FAF38C-284B-48B3-B871-84B9A66010E9}\ProxyStubClsid32 NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9923306 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\Interface\{A6FAF38C-284B-48B3-B871-84B9A66010E9}\Forward NAME NOT FOUND Desired Access: Query Value
8:45:46.9923447 AM devenv.exe 7096 RegOpenKey HKCR\Interface\{A6FAF38C-284B-48B3-B871-84B9A66010E9}\Forward NAME NOT FOUND Desired Access: Query Value
8:45:46.9923676 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\Interface\{A6FAF38C-284B-48B3-B871-84B9A66010E9}\TypeLib NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9924159 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\Interface\{A6FAF38C-284B-48B3-B871-84B9A66010E9}\TypeLib NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9924549 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\Interface\{A6FAF38C-284B-48B3-B871-84B9A66010E9}\TypeLib NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9924925 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\Interface\{A6FAF38C-284B-48B3-B871-84B9A66010E9}\TypeLib NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9925301 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\Interface\{A6FAF38C-284B-48B3-B871-84B9A66010E9}\TypeLib NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9925761 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\TypeLib\{95FF4B0C-E6EC-470C-82AC-EB0471714C5A} NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9926243 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\TypeLib\{95FF4B0C-E6EC-470C-82AC-EB0471714C5A} NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9926490 AM devenv.exe 7096 RegEnumKey HKCR\TypeLib\{95FF4B0C-E6EC-470C-82AC-EB0471714C5A} NO MORE ENTRIES Index: 1, Length: 288
8:45:46.9926676 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\TypeLib\{95FF4B0C-E6EC-470C-82AC-EB0471714C5A}\1.0 NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9927153 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\TypeLib\{95FF4B0C-E6EC-470C-82AC-EB0471714C5A}\1.0 NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9927525 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\TypeLib\{95FF4B0C-E6EC-470C-82AC-EB0471714C5A}\1.0\0 NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9928018 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\TypeLib\{95FF4B0C-E6EC-470C-82AC-EB0471714C5A}\1.0\0\win32 NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9928530 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\TypeLib\{95FF4B0C-E6EC-470C-82AC-EB0471714C5A}\1.0\0\win32 NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9928710 AM devenv.exe 7096 RegQueryValue HKCR\TypeLib\{95FF4B0C-E6EC-470C-82AC-EB0471714C5A}\1.0\0\win32\(Default) BUFFER OVERFLOW Length: 144
8:45:46.9928986 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\TypeLib\{95FF4B0C-E6EC-470C-82AC-EB0471714C5A}\1.0\0\win32 NAME NOT FOUND Desired Access: Maximum Allowed
8:45:46.9929159 AM devenv.exe 7096 RegQueryValue HKCR\TypeLib\{95FF4B0C-E6EC-470C-82AC-EB0471714C5A}\1.0\0\win32\(Default) BUFFER OVERFLOW Length: 144
8:45:46.9936201 AM devenv.exe 7096 ReadFile C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Offset: 224, Length: 4
8:45:46.9936267 AM devenv.exe 7096 FASTIO_CHECK_IF_POSSIBLE C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Operation: Read, Offset: 224, Length: 4
8:45:46.9938304 AM devenv.exe 7096 ReadFile C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Offset: 228, Length: 20
8:45:46.9938360 AM devenv.exe 7096 FASTIO_CHECK_IF_POSSIBLE C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Operation: Read, Offset: 228, Length: 20
8:45:46.9939826 AM devenv.exe 7096 ReadFile C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Offset: 472, Length: 40
8:45:46.9939877 AM devenv.exe 7096 FASTIO_CHECK_IF_POSSIBLE C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Operation: Read, Offset: 472, Length: 40
8:45:46.9941335 AM devenv.exe 7096 ReadFile C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Offset: 512, Length: 40
8:45:46.9941384 AM devenv.exe 7096 FASTIO_CHECK_IF_POSSIBLE C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Operation: Read, Offset: 512, Length: 40
8:45:46.9943155 AM devenv.exe 7096 ReadFile C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Offset: 552, Length: 40
8:45:46.9943207 AM devenv.exe 7096 FASTIO_CHECK_IF_POSSIBLE C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Operation: Read, Offset: 552, Length: 40
8:45:46.9944710 AM devenv.exe 7096 ReadFile C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Offset: 3,072, Length: 16
8:45:46.9944762 AM devenv.exe 7096 FASTIO_CHECK_IF_POSSIBLE C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Operation: Read, Offset: 3,072, Length: 16
8:45:46.9947328 AM devenv.exe 7096 ReadFile C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Offset: 3,088, Length: 8
8:45:46.9947380 AM devenv.exe 7096 FASTIO_CHECK_IF_POSSIBLE C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Operation: Read, Offset: 3,088, Length: 8
8:45:46.9948846 AM devenv.exe 7096 ReadFile C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Offset: 3,232, Length: 2
8:45:46.9948895 AM devenv.exe 7096 FASTIO_CHECK_IF_POSSIBLE C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Operation: Read, Offset: 3,232, Length: 2
8:45:46.9954480 AM devenv.exe 7096 ReadFile C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Offset: 3,234, Length: 14
8:45:46.9954536 AM devenv.exe 7096 FASTIO_CHECK_IF_POSSIBLE C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Operation: Read, Offset: 3,234, Length: 14
8:45:46.9956052 AM devenv.exe 7096 ReadFile C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Offset: 3,104, Length: 16
8:45:46.9956103 AM devenv.exe 7096 FASTIO_CHECK_IF_POSSIBLE C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Operation: Read, Offset: 3,104, Length: 16
8:45:46.9957616 AM devenv.exe 7096 ReadFile C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Offset: 3,120, Length: 8
8:45:46.9957666 AM devenv.exe 7096 FASTIO_CHECK_IF_POSSIBLE C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Operation: Read, Offset: 3,120, Length: 8
8:45:46.9959108 AM devenv.exe 7096 ReadFile C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Offset: 3,152, Length: 16
8:45:46.9959158 AM devenv.exe 7096 FASTIO_CHECK_IF_POSSIBLE C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Operation: Read, Offset: 3,152, Length: 16
8:45:46.9961043 AM devenv.exe 7096 ReadFile C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Offset: 3,168, Length: 8
8:45:46.9961095 AM devenv.exe 7096 FASTIO_CHECK_IF_POSSIBLE C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Operation: Read, Offset: 3,168, Length: 8
8:45:46.9962559 AM devenv.exe 7096 ReadFile C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Offset: 3,200, Length: 16
8:45:46.9962612 AM devenv.exe 7096 FASTIO_CHECK_IF_POSSIBLE C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED Operation: Read, Offset: 3,200, Length: 16
8:45:47.0162060 AM devenv.exe 7096 RegOpenKey HKCU\Software\Classes\CLSID\{00020424-0000-0000-C000-000000000046}\TreatAs NAME NOT FOUND Desired Access: Query Value
Merci pour votre aide.
Je vois la même chose pour les applications Smart Device, donc ce n'est pas seulement vous – ctacke