NCrunch (which is wonderful) has starting throwing errors since I updated it to the latest version this morning.
So everything was working perfectly prior to the upgrade (which it prompted me to do).
Since updating and restarting the machine I am now getting the following and similar messages :-
System.IO.FileNotFoundException : Could not load file or assembly 'file:///C:\Users\xxxx\AppData\Local\NCrunch\24252\11_ncrunchreferences\System.Net.Http.dll' or one of its dependencies. The system cannot find the file specified. at UnitTests.xxx.nnn.com.Controllers.Application.GetTests.WhenTheManagerCallFails()
However, my NUnit tests still pass, so its just affecting NCrunch? any ideas I have looked in the forum, and on SO and not found any clues... anybody have any advice?
a) I have already tried the Pre-load all assembly references into test environment to true to see if this fixes the issue, but to no avail. – julian guppy 42 mins ago
b) I have checked the folder in question and I can See System.Net.Http.Dll, so I am therefore assuming its some sort of dependency, but what that might be that NCrunch is now demanding be present I do not know.. –
Build/Test Issues
NCrunch errors after update to latest version 3.20
Started by JulianGuppy on 5,206 views
Remco NCrunch Developer
#12647
11 Sep 2018 01:26 UTC
Hi, thanks for posting!
In v3.19/v3.20, we had to urgently address some assembly referencing issues that were introduced by the VS 15.8 update. It's possible that in doing this, we've broken something at your end.
Can you check whether turning on the 'Copy referenced assemblies to workspace' setting makes any difference in this behaviour?
Is this a .NET Framework or a .NET Core project?
In v3.19/v3.20, we had to urgently address some assembly referencing issues that were introduced by the VS 15.8 update. It's possible that in doing this, we've broken something at your end.
Can you check whether turning on the 'Copy referenced assemblies to workspace' setting makes any difference in this behaviour?
Is this a .NET Framework or a .NET Core project?
This is a .net framework, and copy referenced assemblies does seem to work, but of course makes it much much slower and i get loads of warnings about that..... I am hoping you can fix asap
Remco NCrunch Developer
#12649
11 Sep 2018 09:14 UTC
Thanks for the extra details. We're aware of this problem but are struggling to find a way to reproduce it. See here for a related report from another user.
If you're able to share a sample project that can reproduce the issue, I'm fairly certain we should be able to get to the bottom of it. You can submit small code samples through the NCrunch contact form.
If you're able to share a sample project that can reproduce the issue, I'm fairly certain we should be able to get to the bottom of it. You can submit small code samples through the NCrunch contact form.
Remco NCrunch Developer
#12691
28 Sep 2018 06:15 UTC
I'm sorry for the time it's taken to come back to you on this issue. The MSBuild redirection hack that MS introduced with VS15.8 has given us tremendous problems with our build integration and it's taken a while to figure out how to fix everything. Would you be interested in trying the build below to see if this solves the problem for you?
NCrunch_Console_3.21.0.3.msi
NCrunch_Console_3.21.0.3.zip
NCrunch_GridNodeServer_3.21.0.3.msi
NCrunch_GridNodeServer_3.21.0.3.zip
NCrunch_LicenseServer_3.21.0.3.zip
NCrunch_VS2008_3.21.0.3.msi
NCrunch_VS2010_3.21.0.3.msi
NCrunch_VS2010_3.21.0.3.zip
NCrunch_VS2012_3.21.0.3.msi
NCrunch_VS2012_3.21.0.3.zip
NCrunch_VS2013_3.21.0.3.msi
NCrunch_VS2013_3.21.0.3.zip
NCrunch_VS2015_3.21.0.3.msi
NCrunch_VS2015_3.21.0.3.msi.7z
NCrunch_VS2015_3.21.0.3.zip
NCrunch_VS2017_3.21.0.3.msi
NCrunch_VS2017_3.21.0.3.msi.7z
NCrunch_VS2017_3.21.0.3.zip
NCrunch_Console_3.21.0.3.msi
NCrunch_Console_3.21.0.3.zip
NCrunch_GridNodeServer_3.21.0.3.msi
NCrunch_GridNodeServer_3.21.0.3.zip
NCrunch_LicenseServer_3.21.0.3.zip
NCrunch_VS2008_3.21.0.3.msi
NCrunch_VS2010_3.21.0.3.msi
NCrunch_VS2010_3.21.0.3.zip
NCrunch_VS2012_3.21.0.3.msi
NCrunch_VS2012_3.21.0.3.zip
NCrunch_VS2013_3.21.0.3.msi
NCrunch_VS2013_3.21.0.3.zip
NCrunch_VS2015_3.21.0.3.msi
NCrunch_VS2015_3.21.0.3.msi.7z
NCrunch_VS2015_3.21.0.3.zip
NCrunch_VS2017_3.21.0.3.msi
NCrunch_VS2017_3.21.0.3.msi.7z
NCrunch_VS2017_3.21.0.3.zip
ok i Have downloaded, installed the ncrunch, switched OFF the copy dlls local and I will let you know how it goes
Remco NCrunch Developer
#12703
29 Sep 2018 06:05 UTC
Early reports on the 3.21.0.3 build haven't been very encouraging. It looks like this build fixes the issue only within a very narrow scope.
I've done some more work in this area and I'm feeling a bit more confident about the build below. I'm anxious to hear if this resolves the problem for you.
NCrunch_Console_3.21.0.4.msi
NCrunch_Console_3.21.0.4.zip
NCrunch_GridNodeServer_3.21.0.4.msi
NCrunch_GridNodeServer_3.21.0.4.zip
NCrunch_LicenseServer_3.21.0.4.zip
NCrunch_VS2008_3.21.0.4.msi
NCrunch_VS2010_3.21.0.4.msi
NCrunch_VS2010_3.21.0.4.zip
NCrunch_VS2012_3.21.0.4.msi
NCrunch_VS2012_3.21.0.4.zip
NCrunch_VS2013_3.21.0.4.msi
NCrunch_VS2013_3.21.0.4.zip
NCrunch_VS2015_3.21.0.4.msi
NCrunch_VS2015_3.21.0.4.msi.7z
NCrunch_VS2015_3.21.0.4.zip
NCrunch_VS2017_3.21.0.4.msi
NCrunch_VS2017_3.21.0.4.msi.7z
NCrunch_VS2017_3.21.0.4.zip
I've done some more work in this area and I'm feeling a bit more confident about the build below. I'm anxious to hear if this resolves the problem for you.
NCrunch_Console_3.21.0.4.msi
NCrunch_Console_3.21.0.4.zip
NCrunch_GridNodeServer_3.21.0.4.msi
NCrunch_GridNodeServer_3.21.0.4.zip
NCrunch_LicenseServer_3.21.0.4.zip
NCrunch_VS2008_3.21.0.4.msi
NCrunch_VS2010_3.21.0.4.msi
NCrunch_VS2010_3.21.0.4.zip
NCrunch_VS2012_3.21.0.4.msi
NCrunch_VS2012_3.21.0.4.zip
NCrunch_VS2013_3.21.0.4.msi
NCrunch_VS2013_3.21.0.4.zip
NCrunch_VS2015_3.21.0.4.msi
NCrunch_VS2015_3.21.0.4.msi.7z
NCrunch_VS2015_3.21.0.4.zip
NCrunch_VS2017_3.21.0.4.msi
NCrunch_VS2017_3.21.0.4.msi.7z
NCrunch_VS2017_3.21.0.4.zip
Post a reply
Log in to reply.