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*

*Bad Install 2*

*Working Install*

Interesting excerpt from the log file:
    <time>2010/10/28 23:16:34.157</time>
    <description>End package load [Visual Studio Component Enumerator Package]</description>
    <time>2010/10/28 23:16:34.776</time>
    <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>
    <time>2010/10/28 23:16:35.529</time>
    <description>Entering function CVsPackageInfo::HrInstantiatePackage</description>


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.


Re: Problems with ViEmu 2.5.7 for VS 2010

Worked like a charm. Thank you for speedy response!


Re: Problems with ViEmu 2.5.7 for VS 2010

Glad it worked, Icarus, thanks for the feedback!