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

Notification

Icon
Error

NCrunch not loading on VS 2015 CTP 6
johns
#1 Posted : Wednesday, April 22, 2015 4:03:01 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/22/2015(UTC)
Posts: 5

Was thanked: 1 time(s) in 1 post(s)
Hi, no matter what I do, there's no NCrunch menu item in CTP 6. What can be done to troubleshoot my issue?
Manual installation didn't help either. Reinstalling also didn't help.
Remco
#2 Posted : Wednesday, April 22, 2015 4:51:29 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,981

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi,

Thanks for sharing this issue.

Is the extension listed under your VS extensions list?

Does executing "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe /setup" as an Administrator make any difference?
johns
#3 Posted : Wednesday, April 22, 2015 5:00:19 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/22/2015(UTC)
Posts: 5

Was thanked: 1 time(s) in 1 post(s)
Yes, the extension is listed in "Tools/Extensions and Updates". Unfortunately executing the installer as administrator makes no difference.
Remco
#4 Posted : Wednesday, April 22, 2015 5:02:29 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,981

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Ok - the next thing to check is if the menu option has just been hidden somehow.

Can you check through the customization menu to see if there is a menu command for NCrunch?

Also - it's worth checking through the keyboard options to see if any NCrunch shortcuts are listed. This is useful information as it will tell us whether the VSCT is being loaded.

Note also that "devenv.exe /setup" isn't the same as running the NCrunch installer. This is a VS configuration step that will re-register all extensions and rebuild various sets of cached VS data.
johns
#5 Posted : Wednesday, April 22, 2015 5:30:41 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/22/2015(UTC)
Posts: 5

Was thanked: 1 time(s) in 1 post(s)
There's not command for NCrunch in the customization menu.

There are also no keyboard options for NCrunch.

Just in case, I've also re-run "devenv.exe /setup" as administrator once again, it didn't help.
Remco
#6 Posted : Wednesday, April 22, 2015 5:41:59 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,981

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Try the following command:

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

Again, make sure you run this as an administrator.
johns
#7 Posted : Wednesday, April 22, 2015 5:50:50 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/22/2015(UTC)
Posts: 5

Was thanked: 1 time(s) in 1 post(s)
Yep, now the menu item is there. However the problem is back, when starting visual studio normally.
Remco
#8 Posted : Wednesday, April 22, 2015 5:59:19 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,981

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Right. The /rootsuffix option basically forces VS to run with a different registry root. In many ways, it's basically like wiping out the entire VS configuration set and starting from scratch in a sandbox session. As this resolves the problem temporarily, it seems that your VS registry data has been corrupted somehow.

It's impossible to know what has caused this corruption, but it's also likely to affect other features inside the IDE. There are two ways you can proceed from here:

1. Continue to run VS using /rootsuffix whenever you load it. This is a viable option if you just adjust the shortcut you use to launch it. As long as the IDE is launched with the same rootsuffix each time, the settings will ensure and you can use it as normal.

2. Reinstall VS from scratch. It's possible you may need to wipe out the VS registry if the uninstaller doesn't do this for you. It's hard for me to advise you on which keys can be safely removed or how to remove them, as this is more the area of the VS dev team.

Since this is just a CTP, I'd recommend the first option (/rootsuffix on a shortcut). Likely you'll be installing the full version of 2015 when its released later, and there's a chance this install step will resolve the problem.
1 user thanked Remco for this useful post.
memark on 5/1/2015(UTC)
johns
#9 Posted : Wednesday, April 22, 2015 6:32:23 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/22/2015(UTC)
Posts: 5

Was thanked: 1 time(s) in 1 post(s)
Thanks. Something that worked for me was deleting Visual Studio keys from the registry: http://stackoverflow.com/a/25416954/77449

This gave me a brand new installation of VS without reinstalling.

Thank you for your support!
1 user thanked johns for this useful post.
Remco on 4/22/2015(UTC)
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.068 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download