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

Notification

Icon
Error

Analysis Failure on .net 4.5.1 assembly
JoshuaPeterson
#1 Posted : Monday, July 15, 2013 2:21:41 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/15/2013(UTC)
Posts: 3
Location: United States of America

I'm using the newest version of NCrunch in Visual Studio 2013 Preview. It is unable to load any 4.5.1 assemblies, giving a BadImageFormatException.

Is there any plans to move NCrunch to 4.5.1?
Remco
#2 Posted : Tuesday, July 16, 2013 12:29:05 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Absolutely. VS2013 is still very new, so any testing with it has so far been very light. My early tests with 4.5.1 templates showed that NCrunch was able to load assemblies, although after checking this now, it appears that NCrunch needs a new loader in order to handle this properly. I'll get to work on implementing this. Thanks for reporting the issue.

Cheers,

Remco
Remco
#3 Posted : Tuesday, July 16, 2013 11:31:07 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
I've just released a fix for this. If you download the latest 1.46 revision, NCrunch should be able to work with .NET 4.5.1 projects in VS2013.
JoshuaPeterson
#4 Posted : Friday, July 19, 2013 5:59:10 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/15/2013(UTC)
Posts: 3
Location: United States of America

I'm downloading it now. Will give it a try. Thanks!
vg555
#5 Posted : Wednesday, July 31, 2013 1:53:14 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/31/2013(UTC)
Posts: 2
Location: United States of America

I am from Microsoft .NET Framework team. I tried to reproduce with problem with .NET 4.5.1 but it works correctly for me.

Hi Remco- it looks like you are able to reproduce the problem. Could you contact us on netfx45compat at Microsoft dot com with description of the issue? Thank you for your help.

Sincerely
Varun
Remco
#6 Posted : Wednesday, July 31, 2013 2:39:03 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi Varun -

Thanks for getting in touch. I'll follow up with you directly.


Cheers,

Remco
vg555
#7 Posted : Wednesday, July 31, 2013 4:24:22 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/31/2013(UTC)
Posts: 2
Location: United States of America

Thanks Remco for contacting me and clarifying that this is NOT an issue with .NET 4.5.1.

From: Remco Mulder (snipped email address)
Hi Varun –

I’m following up on a contact request posted on the NCrunch support forum around a compatibility issue between NCrunch and .NET 4.5.1:

http://forum.ncrunch.net...-assembly.aspx#post4468

After looking into the issue on the side of NCrunch, I was able to conclude that this is not a problem with the .NET framework. NCrunch was making assumptions about the ToolsVersion specified in the build script. These assumptions turned out to be incorrect under VS2013 (where the ToolsVersion was changed). The result was that it was trying to build projects with the wrong version of the .NET framework. The problem has since been resolved.

I very much appreciate the effort taken to approach me directly on this – it really shows strong commitment from the side of Microsoft towards .NET framework compability .. which I applaud!
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.045 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download