1

Re: Problems with ViEmu 2.5.7 for VS 2010

Hey guys,

I just installed the latest version of ViEnum (2.5.7) on VS 2010 and it raises an exception the moment you open any text file (dialog box with "Visual Studio has encountered an exception. This may be caused by an extension." text comes up). At first I thought this might have to do with the side-by-side installation of VAX (10.6.1833.0), but I have since uninstalled it via Extension Manager and continue to experience the same problem. Disabling ViEmu in the Extension Manager "fixes" the problem, but that's obviously not the solution I was to pursue. Interestingly enough this affects 2 out 3 machines that I have. Attached are the VS log files from 2 problematic installs with just ViEnum 2.5.7 plugin and no VAX installed. It is worth mentioning that I tried version 2.5.10, but it did not fix this issue.


*Bad Install 1*
http://www.sendspace.com/file/mrbsc2

*Bad Install 2*
http://www.sendspace.com/file/3q5v80

*Working Install*
http://www.sendspace.com/file/iys6x3

Interesting excerpt from the log file:
    <record>275</record>
    <time>2010/10/28 23:16:34.157</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>End package load [Visual Studio Component Enumerator Package]</description>
    <guid>{588205E0-66E0-11D3-8600-00C04F6123B3}</guid>
  </entry>
  <entry>
    <record>276</record>
    <time>2010/10/28 23:16:34.776</time>
    <type>Error</type>
    <source>Editor or Editor Extension</source>
    <description>System.NullReferenceException: Object reference not set to an instance of an object.&#x000D;&#x000A;   at HubTen.BufAccess.ForceCaretShape(Boolean bForce)&#x000D;&#x000A;   at HubTen.Interceptor.OnSetFocus(Object sender, EventArgs e)&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent(Object sender, EventHandler eventHandlers)</description>
  </entry>
  <entry>
    <record>277</record>
    <time>2010/10/28 23:16:35.529</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
    <guid>{ED8979BC-B02F-4DA9-A667-D3256C36220A}</guid>
  </entry>

2

Re: Problems with ViEmu 2.5.7 for VS 2010

Hi, Icarus
Apologies for the problems, and thanks a lot for the provided info, it's very useful. We're working on trying to reproduce and fix the problem, but meanwhile, some users have reported that resetting VS settings has worked for them in cases like this, specially when they imported settings from VS2008 into VS2010. For this, you need to launch visual studio with the /resetsettings switch. Please tell us if this works for you.
In any case, we'll hopefully have a new build very soon with this problem fixed.

3

Re: Problems with ViEmu 2.5.7 for VS 2010

Worked like a charm. Thank you for speedy response!

4

Re: Problems with ViEmu 2.5.7 for VS 2010

Glad it worked, Icarus, thanks for the feedback!