﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Issues  » StrataFrame and EnvDTE</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Thu, 16 Apr 2026 07:26:12 GMT</lastBuildDate><ttl>20</ttl><item><title>StrataFrame and EnvDTE</title><link>http://forum.strataframe.net/FindPost33111.aspx</link><description>Hi Ben, Trent,&lt;br/&gt;I am currently having some issues with DevExpress CodeRush product crashing VS 2013 &amp;amp; 2015.&amp;nbsp; For several days we have been debugging and testing several hotfixes they provided and somehow in my system it will always crash Visual Studio while not on their test computers.&lt;br/&gt;&lt;br/&gt;So far this have been happening after I installed the SF VSIX in both VS 13 &amp;amp; 15 and we are wondering if the StrataFrame Extension installed with the VSIX makes any changes to the EnvDTE or have anything to do with it, before I am force to uninstall StrataFrame to continue testing as per DevExpress request?&lt;br/&gt;&lt;br/&gt;Here is the link to the DevExpress support ticket:&lt;br/&gt;&lt;a href="https://www.devexpress.com/support/center/Question/Details/T289408#comment-58a294dd-0cfc-4b2a-831c-f04949140552"&gt;&lt;a href="https://www.devexpress.com/support/center/Question/Details/T289408#comment-58a294dd-0cfc-4b2a-831c-f04949140552"&gt;https://www.devexpress.com/support/center/Question/Details/T289408#comment-58a294dd-0cfc-4b2a-831c-f04949140552&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Thanks!!!</description><pubDate>Wed, 21 Oct 2015 20:52:53 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: StrataFrame and EnvDTE</title><link>http://forum.strataframe.net/FindPost33173.aspx</link><description>Thanks Edhy and Ben for the detailed replies and heads up,&lt;br/&gt;&lt;br/&gt;Best regards, Andy</description><pubDate>Wed, 21 Oct 2015 20:52:53 GMT</pubDate><dc:creator>Andrew Harper</dc:creator></item><item><title>RE: StrataFrame and EnvDTE</title><link>http://forum.strataframe.net/FindPost33172.aspx</link><description>Hi Andy,&lt;br/&gt;&lt;br/&gt;[quote][b]Andrew Harper (10/21/2015)[/b][hr]...Did the latest Strataframe VSIX and DLLs resolve the issues you were having with DevExpress?[/quote]&lt;br/&gt;&lt;br/&gt;Well with CodeRush, there are some performance issue I am experiencing.&amp;nbsp; Be aware that now they have CodeRush for Roslyn which is the one that will support the new versions of VB and C# with VS2015, even though the old version (which is the one I had all the issues) still can be installed in VS2015.&lt;br/&gt;&lt;br/&gt;What I did was to disable the old CodeRush and install and use the one for Roslyn which still in beta, so that may be reason for the performance issues I am having, they may be recording diagnostics information in the background.&lt;br/&gt;&lt;br/&gt;Due to all the time that these 2 issues (SF and CR) was taking from me, I basically dropped debugging CodeRush and focus on SF.&amp;nbsp; For now the features in CR for Roslyn are good for me, so I am good, except that some times when working on a form designer, the whole IDE may be slowing down, so I disable CR and that seems to help.&lt;br/&gt;&lt;br/&gt;P.S.&lt;br/&gt;Ben, thanks for the detail explanation on what is going on under the hood with the Addin.</description><pubDate>Wed, 21 Oct 2015 09:07:34 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: StrataFrame and EnvDTE</title><link>http://forum.strataframe.net/FindPost33170.aspx</link><description>I'll let Edhy reply, too, but I believe it did resolve his issues. &amp;nbsp;The root cause was that almost every AddIn/VSPackage has to use the EnvDTE Solution/Project/ProjectItem collection of interfaces to interact with the project system of Visual Studio. &amp;nbsp;VS is written in I'm guessing C++, and exposes the object model through COM objects by way of those interfaces. &amp;nbsp;The COM objects can be accessed from any thread without error until one thread takes explicit ownership of the object. &amp;nbsp;The partial classes are built on a background thread so the UI thread is not blocked. &amp;nbsp;VS does not appear to force the main thread to take ownership of any of the COM objects, so the background thread in the BOMapper can still access them. &amp;nbsp;However, it appears that something in CodeRush or other DevExpress component does force the main thread to take ownership, so as soon as they are accessed in the BOMapper, VS crashes because the AccessViolationException cannot be caught and VS just dies. &amp;nbsp;With Edhy's debugging help, I wrapped all of the access to the COM objects in calls to Dispatcher.Invoke() so they are all accessed from the main UI thread. &amp;nbsp;This is a good case study in one AddIn not knowing what the other is doing.</description><pubDate>Wed, 21 Oct 2015 06:51:09 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: StrataFrame and EnvDTE</title><link>http://forum.strataframe.net/FindPost33169.aspx</link><description>Hi Edhy,&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Did the latest Strataframe VSIX and DLLs resolve the issues you were having with DevExpress?&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Best regards, Andy</description><pubDate>Wed, 21 Oct 2015 01:07:54 GMT</pubDate><dc:creator>Andrew Harper</dc:creator></item><item><title>RE: StrataFrame and EnvDTE</title><link>http://forum.strataframe.net/FindPost33116.aspx</link><description>Hi Ben,&lt;br/&gt;Thanks for the fast reply.&lt;br/&gt;&lt;br/&gt;&lt;span&gt;[quote]&lt;/span&gt;&lt;span&gt;&lt;span id="ctl00_ctlContentPlaceHolder_ctl00_ctlTopic_ctlPanelBar_ctlTopicsRepeater_ctl01_lblFullMessage"&gt;Does VS crash as soon as you open the solution? &amp;nbsp;Or is there something that you do in StrataFrame first, like open the BOMapper, or a type editor or something?																            	                                                                                                    &lt;/span&gt;[/quote]&lt;br/&gt;No, it is just when I enable CodeRush, at this point we are running out of options and I believe that is why they are suggesting to temporarily uninstall SF and see if their crash does not show.&lt;br/&gt;&lt;br/&gt;I am installing the new SF vsix files and will test my projects as well as CodeRush and see what happen.&lt;br/&gt;&lt;/span&gt;</description><pubDate>Fri, 18 Sep 2015 12:44:47 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: StrataFrame and EnvDTE</title><link>http://forum.strataframe.net/FindPost33115.aspx</link><description>Also, we all had CodeRush installed here for the longest time to use the syntax highlighting. &amp;nbsp;Now that the VS2015 Power Tools has syntax highlighting, we no longer use it. &amp;nbsp;But I never got hangs or exceptions thrown when we had CodeRush installed, although we only had syntax highlighting on... all of the other extensions were disabled.</description><pubDate>Fri, 18 Sep 2015 12:43:31 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: StrataFrame and EnvDTE</title><link>http://forum.strataframe.net/FindPost33114.aspx</link><description>Yes, Edhy, we use EnvDTE all over the place. &amp;nbsp;All VS AddIns and Extensions use it. &amp;nbsp;It's the COM object that is Visual Studio. &amp;nbsp;The EnvDTE namespace gives you a DTE object that lets you access the menus, project system, documents, tool windows... everything. &amp;nbsp;That being said, I'm not sure how we could be changing something that would cause their DTE helpers to throw an exception when they try to access a ProjectItem.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Does VS crash as soon as you open the solution? &amp;nbsp;Or is there something that you do in StrataFrame first, like open the BOMapper, or a type editor or something?</description><pubDate>Fri, 18 Sep 2015 12:40:00 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>