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

Notification

Icon
Error

Cannot get ncrunch working on Windows 11, VS2022
aledmorris2
#1 Posted : Sunday, December 19, 2021 4:16:42 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/4/2015(UTC)
Posts: 5
Location: Barbados

Thanks: 1 times
NCrunch version 4.11.0.2. After installing using the MSI, "Enable NCrunch" is greyed out. Tried installing manually using the ZIP file. Unblocked it and unzipped to the VS extensions folder - still greyed out.

Tried running ncrunch.enginehost472.x64.exe from the command line and from windows explorer - nothing happens and no errors shown.

Looked in Event Viewer, could not see any errors.

What other troubleshooting steps can I do?

Cheers




Remco
#2 Posted : Monday, December 20, 2021 3:23:42 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 852 times
Was thanked: 1155 time(s) in 1079 post(s)
Hi, thanks for posting.

My best guess here is that VS has decided not to load the package (it has a history of doing this at odd times, we've never been able to work out why).

Have you tried the removal and reinstall fix? Note that every step documented here is important (it is the same for VS2019/2022 as it is for VS2017).
aledmorris2
#3 Posted : Monday, December 20, 2021 10:17:29 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/4/2015(UTC)
Posts: 5
Location: Barbados

Thanks: 1 times
Followed the Removal and Reinstall fix. At step 5 (devenv.exe /setup) the error "The operation could not be completed" is shown. "Enable NCrunch" is still greyed out.

Uninstalled visual studio using the visual studio installer. Reinstalled, (selecting only "Asp.Net and Web Development" and using all defaults). Rebooted, reinstalled NCrunch using MSI. "Enable NCrunch" is still greyed out.

Found the VS log directory at %temp%/VSLogs, can't see anything relevant in there

Just to reiterate, I'm on windows 11 and VS2022 Community, if that makes any difference.





Remco
#4 Posted : Monday, December 20, 2021 10:21:19 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 852 times
Was thanked: 1155 time(s) in 1079 post(s)
Is the 'Submit bug report' option in the NCrunch menu available to you, and if it is, could you try using it? Hopefully there is a log in the report we can use.
aledmorris2
#5 Posted : Monday, December 20, 2021 2:10:26 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/4/2015(UTC)
Posts: 5
Location: Barbados

Thanks: 1 times
Bug report submitted, cheers.
Remco
#6 Posted : Monday, December 20, 2021 10:51:00 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 852 times
Was thanked: 1155 time(s) in 1079 post(s)
Thanks for sending through the bug report.

The report indicates that VS appears to be initialising NCrunch successfully and no issues are reported.

Do you have a solution open? NCrunch won't allow you to enable without one.
aledmorris2
#7 Posted : Tuesday, December 21, 2021 10:55:55 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/4/2015(UTC)
Posts: 5
Location: Barbados

Thanks: 1 times
I can confirm that a solution is loaded (did have to think for a second!)

Here's a screenshot:

[img=https://imgur.com/a/XdzOVHh]screenshot[/img]
aledmorris2
#8 Posted : Tuesday, December 21, 2021 11:17:09 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/4/2015(UTC)
Posts: 5
Location: Barbados

Thanks: 1 times
Got it working now. The 'Enable NCrunch' button became enabled after the solution was rebuilt.

Seems to be working now, thanks for the help!

Remco
#9 Posted : Tuesday, December 21, 2021 11:43:26 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 852 times
Was thanked: 1155 time(s) in 1079 post(s)
aledmorris2;15904 wrote:
Got it working now. The 'Enable NCrunch' button became enabled after the solution was rebuilt.


That was unexpected. Maybe VS2022 can be late with the solution opening message. Good to hear you are up and running. We'll keep an eye out for this one.
1 user thanked Remco for this useful post.
aledmorris2 on 12/21/2021(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.046 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download