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

Notification

Icon
Error

Invalid detection of 4.6.2 framework
Atreyu
#1 Posted : Monday, March 20, 2017 9:28:58 AM(UTC)
Rank: Member

Groups: Registered
Joined: 1/11/2013(UTC)
Posts: 11
Location: Netherlands

Thanks: 3 times
Was thanked: 1 time(s) in 1 post(s)
I'm using VS2017 on a solution that contains only 4.6.1 projects. Since v3.6 nCrunch indicates that one of the applications is using 4.6.2 and the corresponding framework should be installed:

Dialogue
http://imgur.com/CqGus8N
Atreyu
#2 Posted : Monday, March 20, 2017 9:35:40 AM(UTC)
Rank: Member

Groups: Registered
Joined: 1/11/2013(UTC)
Posts: 11
Location: Netherlands

Thanks: 3 times
Was thanked: 1 time(s) in 1 post(s)
I was in a hurry, so I just installed the framework (had to reboot) and now it works.
Remco
#4 Posted : Monday, March 20, 2017 9:35:52 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 960 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi,

Thanks for sharing this problem.

This is caused by NCrunch failing to correctly detect the versions of .NET stored on your system. I thinks that .NET v4.6.2 is installed, though based on the error you've shown, this doesn't look to be the case.

Would you be able to check something for me in your registry? I need to know the value of the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\Release

Installing .NET v4.6.2 will solve this problem. The problem is not related to the version of the framework you are using for your projects (NCrunch will still use v4.6.1 for these projects). This is coming from the engine host itself.
Remco
#3 Posted : Monday, March 20, 2017 9:41:46 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 960 times
Was thanked: 1290 time(s) in 1196 post(s)
Atreyu;10043 wrote:
I was in a hurry, so I just installed the framework (had to reboot) and now it works.


Thanks, don't worry about retrieving the version number then. It looks like the v4.6.2 detection change introduced in NCrunch v3.6 was made based on misleading information. I guess I'll need to roll this back. Thanks for bringing it to my attention.
Atreyu
#5 Posted : Monday, March 20, 2017 3:17:20 PM(UTC)
Rank: Member

Groups: Registered
Joined: 1/11/2013(UTC)
Posts: 11
Location: Netherlands

Thanks: 3 times
Was thanked: 1 time(s) in 1 post(s)
The registry value is (now)
Quote:
60636


The version paths are
Code:
v4
  Client
    1033
    1043
  Full
    1033
    1043
v4.0
  Client
1 user thanked Atreyu for this useful post.
Remco on 3/20/2017(UTC)
partialinfinity
#6 Posted : Wednesday, March 22, 2017 7:22:41 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/23/2013(UTC)
Posts: 1
Location: United States of America

I had the same problem - I have VS 2017 RTM installed but it didn't detect 4.6.2 installed. It worked after installing the redist and rebooting, though.
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.040 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download