Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Install of 2.18.0.3 not showing up in VS 2012
CoolBreeze
#1 Posted : Tuesday, November 24, 2015 8:23:29 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 7/11/2014(UTC)
Posts: 79
Location: United States of America

Was thanked: 9 time(s) in 9 post(s)
I downloaded and installed 2.18.0.03 today on my laptop. I started VS1012 and I don't see the NCrunch menu item.

I uninstalled NCrunch using Programs and Features, exited VS, reinstalled NCrunch 2.18.0.3, and then restarted VS 2012. However, I still don't see NCrunch in the menu.

I do see NCrunch listed in Tools\Extensions and Features.

I restarted my laptop at some point in the above process. But that didn't help.

I just noticed I'm at VS 2012 Update 4 and Update 5 is available. I'm installing Update 5 now.

Thanks, Ed
Remco
#2 Posted : Tuesday, November 24, 2015 10:29:25 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Hi Ed,

Thanks for sharing this problem.

The registration of the NCrunch menu is something controlled by VS itself in response to the existence of NCrunch's addin. If NCrunch is installed but the menu is not showing, this means that either the menu has been moved/disabled in the VS settings (unlikely), or the VS install state has some issues.

Try opening a command prompt with administrator privileges and running: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe /setup

.. Then wait until the devenv.exe process finishes its work and try reloading. Is the problem resolved?
CoolBreeze
#3 Posted : Tuesday, November 24, 2015 11:47:38 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 7/11/2014(UTC)
Posts: 79
Location: United States of America

Was thanked: 9 time(s) in 9 post(s)
Shutdown VS
Opened DOS Window as Admin
Ran cmd you suggested
Waited for devenv.exe to complete
Opened VS 2012

No NCrunch in menu.
Remco
#4 Posted : Wednesday, November 25, 2015 12:15:51 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Try the following:

C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe /rootsuffix test

This will create a fresh registry root for Visual Studio with default settings, under a special named context.

Is the NCrunch menu showing in this state?
CoolBreeze
#5 Posted : Wednesday, November 25, 2015 3:10:54 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 7/11/2014(UTC)
Posts: 79
Location: United States of America

Was thanked: 9 time(s) in 9 post(s)
I followed your instructions.
I see NCrunch menu in this special context.
I shutdown this version of VS.
I started the regular version of VS.
I don't see NCrunch menu.

Thanks for your help!

Ed
Remco
#6 Posted : Wednesday, November 25, 2015 5:16:56 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Ok - this confirms that the problem is being caused by a corrupt VS registry hive. Unfortunately these sorts of things do happen in VS from time to time. They're rare, and they can be fixed, but they are a bit painful if you have a lot of customisation in your settings.

You have a couple of options from here. Either you can continue to work with VS using the new rootsuffix, loading it up always with the new parameter, or you can clear our the default registry hive and reset the VS settings.

I have been told that deleting the registry key at HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0 (with VS shut down) can solve this problem. I would caution you to first back this up to make sure you have a fallback in case this doesn't work for you. I haven't personally tried this myself - so this is 2nd hand knowledge.

Note that working with a custom rootsuffix won't introduce any side-effects as far as I'm aware.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.035 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download