Hello,
yesterday I updated from Version 6.4.755 to 6.4.775. With the new version I get exceptions in Visual Studio 2017 Prof. (15.9.14) as soon as I want to add a new project to a solution or supfolder. Even if I rightclick on a new project and click "Add ->New Item" I got the same exception:
Initialization of 'Microsoft.VisualStudio.ExtensionsExplorer.Ui.ThemedToggleButton' threw an exception
If I uninstall EntityDeveloper or go back to the previous version 6.4.755 the exception is gone away!
Visual Studio 2017 Exception with Entity Developer 6.4.775
-
- Posts: 23
- Joined: Tue 27 Feb 2018 13:43
Re: Visual Studio 2017 Exception with Entity Developer 6.4.775
Does this recommendation help?
If not, specify a detailed stack trace of the error. If there is no stack trace, please obtain it by connecting from another (2nd) instance of Visual Studio (via Debug > Attach to Process) to the first VS (where you are getting 'Microsoft.VisualStudio.ExtensionsExplorer.Ui.ThemedToggleButton' threw an exception). Before debugging, make these settings in your 2nd Visual Studio:
* in the (Debug > Windows > Exception Settings) window, select Common Language Runtime Exceptions
* in the (Tools > Options) window, navigate to Debugging > General and clear Enable Just My Code
If not, specify a detailed stack trace of the error. If there is no stack trace, please obtain it by connecting from another (2nd) instance of Visual Studio (via Debug > Attach to Process) to the first VS (where you are getting 'Microsoft.VisualStudio.ExtensionsExplorer.Ui.ThemedToggleButton' threw an exception). Before debugging, make these settings in your 2nd Visual Studio:
* in the (Debug > Windows > Exception Settings) window, select Common Language Runtime Exceptions
* in the (Tools > Options) window, navigate to Debugging > General and clear Enable Just My Code
-
- Posts: 23
- Joined: Tue 27 Feb 2018 13:43
Re: Visual Studio 2017 Exception with Entity Developer 6.4.775
Hello,
very strange. Today I unsinstalled the version 6.4.755 again and installed the new one. But now everything works. I got no exception anymore! But I did the same yesterday four times.
So unfortunately I can not provide a trace.
If I get the error again, I will post here.
Thanks.
very strange. Today I unsinstalled the version 6.4.755 again and installed the new one. But now everything works. I got no exception anymore! But I did the same yesterday four times.
So unfortunately I can not provide a trace.
If I get the error again, I will post here.
Thanks.
Re: Visual Studio 2017 Exception with Entity Developer 6.4.775
I have the same issue with the free version 6.4.790. @Shalex debugging info attached:
Code: Select all
System.Windows.Markup.XamlParseException: 'Initialization of 'Microsoft.VisualStudio.ExtensionsExplorer.UI.ThemedToggleButton' threw an exception.'
Inner Exception
InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'VSLangProj.VSProject'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{2CFB826F-F6BF-480D-A546-95A0381CC411}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
Re: Visual Studio 2017 Exception with Entity Developer 6.4.775
We have fixed a similar issue. Please try the internal build of Express Edition with the fix: https://www.devart.com/pub/entitydevelo ... _4_798.exe. If the problem persists, specify the full stack trace of the exception.IanKemp wrote: ↑Mon 05 Aug 2019 09:59 I have the same issue with the free version 6.4.790. @Shalex debugging info attached:
Code: Select all
System.Windows.Markup.XamlParseException: 'Initialization of 'Microsoft.VisualStudio.ExtensionsExplorer.UI.ThemedToggleButton' threw an exception.' Inner Exception InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'VSLangProj.VSProject'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{2CFB826F-F6BF-480D-A546-95A0381CC411}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
Re: Visual Studio 2017 Exception with Entity Developer 6.4.775
The bug with invalid attempt to cast unsupported Visual Studio project to type 'VSLangProj.VSProject' is fixed: viewtopic.php?f=32&t=39341.