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
Remco NCrunch Developer
#11481
09 Nov 2017 05:10 UTC
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
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
Post a reply
Log in to reply.