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

Notification

Icon
Error

NCrunch 2.11 requires .NET framework 4.5.3
Daniel Rose
#1 Posted : Thursday, January 22, 2015 10:18:50 AM(UTC)
Rank: Member

Groups: Registered
Joined: 10/7/2011(UTC)
Posts: 29
Location: Aachen, Germany

Thanks: 6 times
Was thanked: 5 time(s) in 4 post(s)
I installed the new release of NCrunch. Unfortunately, it doesn't work on my computer. I have Visual Studio 2013 installed, with .NET 4.5.2:

An error occurred while analysing this project after it was built: NCrunch encountered an unexpected error occurred while building an environment to analyse an assembly: System.Exception: The requested version of the .NET framework, 'Framework453' is not installed on this system
at nCrunch.Core.ProcessManagement.ExternalProcessManager.(ProcessorArchitecture , ProcessLoadParameters )
at nCrunch.Core.ProcessManagement.ExternalProcessManager.LoadExternalProcess(ProcessLoadParameters parameters, GridClientId client)
at nCrunch.Core.TestManagement.TestRunnerProcess.(Boolean , FilePath , GridClientId , CustomEnvironmentVariable[] )
at nCrunch.Core.Processing.AnalysisTaskLogic.DoProcessTaskAndReturnSuccessFlag()

Additionally, this error text is shown in the NCrunch Tests window, but in the NCrunch Processing Queue window, it only shows the tasks as failed, without any output text.
Remco
#2 Posted : Thursday, January 22, 2015 10:35:16 AM(UTC)
Rank: NCrunch Developer

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

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

NCrunch doesn't have a task runner that caters specifically to .NET 4.5.2, so it instead relies on 4.5.3 as a fallback.

Installing the .NET 4.5.3 SDK should resolve this problem. Otherwise, if the .NET 4.5.2 features are not important in your test project, targeting the test project to .NET 4.5.1 will also work.
Daniel Rose
#3 Posted : Thursday, January 22, 2015 3:20:35 PM(UTC)
Rank: Member

Groups: Registered
Joined: 10/7/2011(UTC)
Posts: 29
Location: Aachen, Germany

Thanks: 6 times
Was thanked: 5 time(s) in 4 post(s)
Retargeting everything just to solve this problem seems overkill to me. Why is it falling back on 4.5.3, which is in preview state?
Remco
#4 Posted : Thursday, January 22, 2015 9:08:31 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Daniel Rose;6814 wrote:
Retargeting everything just to solve this problem seems overkill to me. Why is it falling back on 4.5.3, which is in preview state?


4.5.3 is the highest available framework supported by NCrunch, and it supports 4.5.2 features ... so it isn't the ideal solution, but it should technically work. The fact that 4.5.3 isn't installed on many systems is an oversight. I think a set of 4.5.2 task runner will need to be added. It looks like we're going to need a whole library of task runners at the rate that MS is releasing new .NET versions right now.
Ralf Koban
#6 Posted : Saturday, January 24, 2015 8:49:22 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/19/2014(UTC)
Posts: 44
Location: Germany

Thanks: 4 times
Was thanked: 10 time(s) in 9 post(s)
Hi Remco,

would be really good to have a set of 4.5.2 task runners. I cannot upgrade to 4.5.3 because some 3rd party assemblies/tools have (build) issues with that. So I need to stick to .NET v4.5.2. But that means that I cannot use the NCrunch grid testing functionality anymore (without downgrading to previous "RC" NCrunch version which I have to do by now).

BR,
Ralf
Remco
#7 Posted : Saturday, January 24, 2015 11:07:52 AM(UTC)
Rank: NCrunch Developer

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

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

Thanks for the feedback on this. I'm looking to add 4.5.2 task runners soon.
Remco
#8 Posted : Monday, January 26, 2015 2:13:29 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
It looks as though 4.5.2 is an in-place update over 4.5.1... At least, when constructing a 4.5.1 test environment on any machine with 4.5.2 installed, it seems to contain the same features and reference the same .NET assembly versions.

So I guess for effective purposes, 4.5.2 is the same as 4.5.1.

I've introduced a fix that retargets the TaskHost to 4.5.1 instead of 4.5.3. You're welcome to give the build below a try to see if this works for you:

http://downloads.ncrunch.net/NCrunch_Console_2.12.0.1.msi
http://downloads.ncrunch.net/NCrunch_Console_2.12.0.1.zip
http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.12.0.1.msi
http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.12.0.1.zip
http://downloads.ncrunch.net/NCrunch_VS2008_2.12.0.1.msi
http://downloads.ncrunch.net/NCrunch_VS2010_2.12.0.1.msi
http://downloads.ncrunch.net/NCrunch_VS2010_2.12.0.1.zip
http://downloads.ncrunch.net/NCrunch_VS2012_2.12.0.1.msi
http://downloads.ncrunch.net/NCrunch_VS2012_2.12.0.1.zip
http://downloads.ncrunch.net/NCrunch_VS2013_2.12.0.1.msi
http://downloads.ncrunch.net/NCrunch_VS2013_2.12.0.1.zip
http://downloads.ncrunch.net/NCrunch_VS2015_2.12.0.1.msi
http://downloads.ncrunch.net/NCrunch_VS2015_2.12.0.1.zip

I have a feeling that this may also solve the strange analysis problem you've reported on the grid nodes.
2 users thanked Remco for this useful post.
Daniel Rose on 1/26/2015(UTC), samholder on 1/27/2015(UTC)
Daniel Rose
#9 Posted : Monday, January 26, 2015 10:22:20 AM(UTC)
Rank: Member

Groups: Registered
Joined: 10/7/2011(UTC)
Posts: 29
Location: Aachen, Germany

Thanks: 6 times
Was thanked: 5 time(s) in 4 post(s)
This works. Thank you!
2 users thanked Daniel Rose for this useful post.
Remco on 1/26/2015(UTC), samholder on 1/27/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.053 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download