shaynevanasperen;9865 wrote:I'm very disappointed. I just decided to purchase a licence so that I could try out this new build, only to discover after purchasing that it only lasts for one year. That should have been made clear before I purchased it. It wouldn't be so bad if the software actually worked though, but unfortunately it crashed for me. So now I have a licence to some software that doesn't even work and I don't know how long it will be before this bug is fixed. I think it would be fair to expect my licence to be extended by however long it takes to get this bug fixed. I've submitted the bug report using the NCrunch bug report submitter, but here's the stack trace of the error:
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.NullReferenceException: Object reference not set to an instance of an object.
at nCrunch.Core.TestManagement.TestRunnerProcess..()
at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
at nCrunch.Core.TestManagement.TestRunnerProcess.(Boolean , FilePath , GridClientId , CustomEnvironmentVariable[] )
at nCrunch.Core.TestManagement.TestRunnerProcess..()
at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
at nCrunch.Core.Processing.AnalysisTaskLogic.DoProcessTaskAndReturnSuccessFlag()
This was using NCrunch in the latest release candidate of Visual Studio 2017 on a .NET Core project with xUnit tests and BDDfy/Specify. The project compiles without any warnings or errors and the tests run fine in the Visual Studio test runner.
I'm sorry to hear you had a bad experience with this build. Please do be aware that this is the first unstable test build of a huge feature that is built to integrate with a pre-release platform. I really can't stress this enough; this are going to go wrong in this build. The good news is that they should be fixed quickly as soon as the problems are found, thanks to bug reports like yours.
This looks to me to be a dependency related issue. I'm wondering if you can check your list of Nuget packages (under C:\Users\USER\.nuget) to see if any of the following are not installed on your system. If they aren't there, try installing them. This can be easily done by just adding the right version of the package to a dummy project in your VS:
System.Collections.NonGeneric version 4.3.0
System.Reflection version 4.3.0
System.Reflection.TypeExtensions version 4.3.0
System.Runtime.Loader version 4.3.0
System.Runtime.Serialization.Formatters version 4.3.0
System.Threading version 4.3.0
System.Threading.Thread version 4.3.0
System.Diagnostics.TraceSource version 4.3.0
System.ComponentModel.TypeConverter version 4.3.0
If this solves the problem, I should be able to implement a proper solution in the next build.