After another Microsoft update: https://support.microsoft.com/en-us/kb/3105213, my VSTO Excel project stops working.
At this moment it's only on Windows 10, and MS Excel 2013 and 2016 with the latest updates and also both 32-bit.
Here is what happens: after pressing button on the ribbon program calls a Form and it's over..: prntscr.com/97hs6a
And from windows logs Excel 2013:
Faulting application name: EXCEL.EXE, version: 15.0.4771.1000, time stamp: 0x561cc5bc
Faulting module name: mscorwks.dll, version: 2.0.50727.8670, time stamp: 0x5604911f
Exception code: 0xc0000409
Fault offset: 0x00009d8d
Faulting process id: 0x1784
Faulting application start time: 0x01d128fbce454a30
Faulting application path: C:\Program Files (x86)\Microsoft Office\Office15\EXCEL.EXE
Faulting module path: C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
Report Id: 5f962002-58e5-4b9b-82cf-7861ff33c940
Faulting package full name:
Faulting package-relative application ID:
------------------------------------------------
From windows logs Excel 2016:
Sugadintos taikomosios programos pavadinimas: EXCEL.EXE, versija: 16.0.6001.1038, laiko žyma: 0x563492ff
Sugadinto modulio pavadinimas: mscorwks.dll, versija: 2.0.50727.8670, laiko žyma: 0x5604911f
Išimties kodas: 0xc0000409
Sugadintas poslinkis: 0x00009d8d
Sugadinto proceso ID: 0x17ac
Sugadintos taikomosios programos paleidimo laikas: 0x01d128e33e7b00fd
Sugadintos taikomosios programos kelias: C:\Program Files (x86)\Microsoft Office\Root\Office16\EXCEL.EXE
Sugadinto modulio kelias: C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
Ataskaitos ID: 92604d0f-94d6-11e5-8d76-78acc0c176af
Sugadinto paketo visas pavadinimas:
-------------------------
If i manually uninstalled KB3105213 and restarted PC, my it works Fine!
The code looks:
http://prntscr.com/97i3cz
I made a change to:
http://prntscr.com/97i2v5, and it works with KB3015213 and without!
The only stress that now i need to deploy this to all clients, and this form was created more than one year ago...