Crunch
About
Pricing
Documentation
News
Support
Download
Customer Login
Welcome Guest! To enable all features please
Login
or
Register
.
Forum
Active Topics
Search
Login
Register
Notification
Error
OK
NCrunch Forum
»
General Support
»
Build/Test Issues
»
BadImageFormatException
BadImageFormatException
Options
Previous Topic
Next Topic
Qbunia
#1
Posted :
Wednesday, November 8, 2017 3:11:04 PM(UTC)
Rank: Newbie
Groups: Registered
Joined: 6/26/2017(UTC)
Posts: 2
Location: Poland
Thanks: 2 times
Hello,
Lately I upgraded my projects from .NET 4.5.1 to 4.7.1
Now some of my test projects doesn`t compile. I`m getting this error:
An error occurred while analysing this project after it was built: System.BadImageFormatException: Could not load file or assembly 'file:///C:\Users\Qbusoft\AppData\Local\NCrunch\2508\34\test\S360.CommonData.Tests\bin\Debug\S360.CommonData.Tests.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
File name: 'file:///C:\Users\Qbusoft\AppData\Local\NCrunch\2508\34\test\S360.CommonData.Tests\bin\Debug\S360.CommonData.Tests.dll'
Weird thing is that when I remove Reference to xunit.core the test project builds smoothly.
Specs:
VisualStudio 2017
.NET 4.7.1
Windows 10
Xunit 2.3.1
NCrunch 3.11.9
Back to top
User Profile
View All Posts by User
View Thanks
Remco
#2
Posted :
Thursday, November 9, 2017 5:10:19 AM(UTC)
Rank: NCrunch Developer
Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,145
Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi,
This is because NCrunch v3.11 was released prior to MS releasing .NET 4.7.1, which has only been out for a few weeks now.
There's a dev build of NCrunch below that includes a task runner for .NET 4.7.1 if you need this prior to the v3.12 release:
http://downloads.ncrunch.net/NCrunch_Console_3.12.0.13.msi
http://downloads.ncrunch.net/NCrunch_Console_3.12.0.13.zip
http://downloads.ncrunch.net/NCrunch_GridNodeServer_3.12.0.13.msi
http://downloads.ncrunch.net/NCrunch_GridNodeServer_3.12.0.13.zip
http://downloads.ncrunch.net/NCrunch_LicenseServer_3.12.0.13.zip
http://downloads.ncrunch.net/NCrunch_VS2008_3.12.0.13.msi
http://downloads.ncrunch.net/NCrunch_VS2010_3.12.0.13.msi
http://downloads.ncrunch.net/NCrunch_VS2010_3.12.0.13.zip
http://downloads.ncrunch.net/NCrunch_VS2012_3.12.0.13.msi
http://downloads.ncrunch.net/NCrunch_VS2012_3.12.0.13.zip
http://downloads.ncrunch.net/NCrunch_VS2013_3.12.0.13.msi
http://downloads.ncrunch.net/NCrunch_VS2013_3.12.0.13.zip
http://downloads.ncrunch.net/NCrunch_VS2015_3.12.0.13.msi
http://downloads.ncrunch.net/NCrunch_VS2015_3.12.0.13.zip
http://downloads.ncrunch.net/NCrunch_VS2017_3.12.0.13.msi
http://downloads.ncrunch.net/NCrunch_VS2017_3.12.0.13.zip
Back to top
2 users thanked Remco for this useful post.
Qbunia
on 11/9/2017(UTC),
Magbr
on 11/16/2017(UTC)
User Profile
View All Posts by User
View Thanks
Users browsing this topic
Guest
NCrunch Forum
»
General Support
»
Build/Test Issues
»
BadImageFormatException
Forum Jump
General Support
- Setup Problems
- Build/Test Issues
- Daily Usage Issues
Crunch Discussion
- General Feedback
- Feature Suggestions
General Discussion
- General Discussion
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.
Watch this topic
Email this topic
Print this topic
» Normal
Threaded
YAF
|
YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.031 seconds.
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download