Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Impacted tests with internal types under CompareIL detection mode.
Ok, this looks to have been a similar issue. I've redesigned the way the whole impact detection system works with compiler generated code. Hopefully we'll now see an end to these problems. New build is below. [url=http://downloads.ncrunch.net/NCrunch_Console_3.7.0.4.msi]http://downloads.ncrunc…
07 Apr 2017 05:46 UTC
-
Build errors when referencing Shared Projects
Hi, Shared projects are still a work in progress, so there are some rough edges here. Standard practice at the moment is to always ignore the shared project. The projects that then reference it should have all 'shared' files explicitly included and things should work. Because NCrunch doesn't t…
06 Apr 2017 23:44 UTC
-
Impacted tests with internal types under CompareIL detection mode.
[quote=GreenMoose;10202]Ok thanks. 3.7.0.3 did not fix the issue however (yes the method is async, and it behaves the same as before; e.g. commenting out a line: no impact detection, un-commenting a line/inserting a line: impact detection works).[/quote] Is there any chance you could isolate this…
05 Apr 2017 23:33 UTC
-
NCrunch temp files nCrunchTemp_xxx.csproj in project directories
These files are generated by NCrunch when it loads your project. Basically, NCrunch doesn't tamper with your existing project file, but it does need to make modifications and save these to disk before it can invoke MSBuild. So we have a temporary file that can exist for a few seconds, depending …
05 Apr 2017 23:32 UTC
-
Impacted tests with internal types under CompareIL detection mode.
The impact detection system should consider ALL covered methods in an assembly, regardless of whether they are internal. So what you've described looks like a bug. Some issues have recently been found where the impact detection wasn't working correctly for certain compiler generated structures…
05 Apr 2017 12:05 UTC
-
NCrunch with NUnit3 lagging due to Analyse Assembly
The number of types/methods in your assembly is nothing unusual, but there may be some knock-on here with the assembly references. The reflection activity in Analyse Assembly is essentially just iterating over all types and methods in the assembly, along with their custom attributes. You may act…
05 Apr 2017 04:23 UTC
-
Cannot find module '@angular/core'.
I have no way to test whether this works, but give it a try: <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="(- BROKEN LINK -)"> <Import Project="..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.3\build\Microsoft.CodeDom.Provid…
04 Apr 2017 23:18 UTC
-
VS = No Build Errors, NCrunch Many Build Errors
Hi Ed, VS has an internal system designed to detect references from older frameworks to newer ones, and usually will try to warn you of this in some form or another. NCrunch doesn't have such a mechanism, so it's possible the problem was instead being kicked up in the form of MSBuild exceptions.…
04 Apr 2017 12:25 UTC
-
NCrunch using wrong bindingRedirect
Hi, thanks for sharing this problem. At the moment, NCrunch is still on xunit v2.1. There are plans to upgrade this to v2.2 along with some integration changes to allow the engine to be more forwards-compatible with future versions of xunit. To immediately solve this problem, you have two opt…
04 Apr 2017 09:40 UTC
-
VS = No Build Errors, NCrunch Many Build Errors
Hi Ed, Thanks for sharing this problem. Can you check if NCrunch has given you any warnings in the Tests Window? I wonder if this might be caused by a reference to an old assembly. Deleting the _ncrunch directory with the IDE closed will completely reset the NCrunch state. This might be w…
03 Apr 2017 23:31 UTC
-
NCrunch console 3.6 ignores /E parameter?
[quote=GreenMoose;10187][quote=Remco;10175] As part of V3, the console tool parameter handling was upgraded so that you can override almost any global or solution-level configuration setting using the command line, including the TestsToExecuteAutomatically setting.[/quote] ..almost as in not Custo…
03 Apr 2017 12:44 UTC
-
NCrunch with NUnit3 lagging due to Analyse Assembly
Regarding funnel-related issues, there were some quite significant changes in a recent build of NCrunch (I think it was v3.3 or v3.4) where NCrunch now uses the solution file as the main source of truth for the list of projects to load, disregarding VS if it doesn't report a project (i.e. if its unl…
03 Apr 2017 07:00 UTC
-
NCrunch with NUnit3 lagging due to Analyse Assembly
[quote=Grendil;10183]Ah, thanks for this diagnostic tip! So I turned on that setting, reloaded the IDE, waited for NCrunch to do its initial build and analysis, and made sure it was in manual engine mode. When it was idle I ran one test. That took about 16 sec, nearly all of which was "Invoke…
03 Apr 2017 06:56 UTC
-
NCrunch with NUnit3 lagging due to Analyse Assembly
Hi, thanks for posting! Before offering any advice on this problem, I think it's best if we try to isolate the performance issue. What you've described doesn't seem like normal behaviour, though I've yet to learn more about the structure of your solution. Try turning on the [url=http://www.nc…
03 Apr 2017 00:46 UTC
-
Using NCrunch console on network drive results in ERROR (Internal).
This is caused by a constraint imposed by the .NET Framework. Basically, .NET doesn't allow the dynamic loading of assemblies from network locations without special configuration. It's possible that adding the loadFromRemoteSources switch would resolve this immediate problem, but NCrunch employs d…
31 Mar 2017 22:40 UTC
-
Cannot find module '@angular/core'.
My first guess would be to try changing this line: <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.…
31 Mar 2017 22:35 UTC
-
NCrunch console 3.6 ignores /E parameter?
[quote=GreenMoose;10174] * Using /e "Manual" without existing .v3.ncrunchsolution and without /c, causes NCrunch to execute all tests. [/quote] If there is no "Manual" engine mode in your global config file at C:\Users\USER\AppData\Roaming\NCrunch\globalconfig.crunch.v3.xml, then the current de…
31 Mar 2017 11:37 UTC
-
Cannot find module '@angular/core'.
Hi, thanks for posting. It looks to me like your project has a build step that is compiling your typescript files. My first guess would be that these files depend upon libraries that aren't included in the project itself, so the build system can't find them when NCrunch tries to build. See he…
31 Mar 2017 10:12 UTC
-
NCrunch console 3.6 ignores /E parameter?
Sorry, I misunderstood. To clarify this, the ncrunchsolution file cannot be injected via the /C command line option. This option will only work for a global configuration file. If you're looking to override specific config settings that are specified in the normal .ncrunchsolution file, it may …
30 Mar 2017 23:15 UTC
-
TargetInvocationException
Hi, thanks for sharing this problem. I've seen this happen before, intermittently in a test VM. My understanding at the moment is that it's actually caused by a race condition in the .NET framework itself, which tries to somehow load resources in parallel while the console process is still start…
30 Mar 2017 22:44 UTC