Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
2.8 freezes at "engine is intialising".....
Ok - I've pushed out a new revision of 2.8 to address this issue. The old revision was 2.8.0.34, the new one is 2.8.0.35. You can grab it from the download page.
25 Aug 2014 12:04 UTC
-
2.8 freezes at "engine is intialising".....
Thanks for sharing this. v2.8 introduced some new logic that attempts to parse the solution file during project resolution. This new logic seems to be flawed in that it isn't correctly catering for solutions referencing projects over http (i.e. web projects). I'm busy preparing a fixed build …
25 Aug 2014 11:52 UTC
-
When/Why is "Pre-load all assembly references into test environment" required
Hi, It can be difficult to tell why the CLR would have trouble loading the mixed mode assembly at run-time. My first thought is that the CLR may be behaving very differently when loading this assembly due to it being structurally different to a normal .NET assembly. When the pre-load assembly…
25 Aug 2014 10:36 UTC
-
Why does the Metric Window include Tests Projects?
Hi, thanks for posting. NCrunch itself does not discriminate in this situation, largely because it cannot make safe assumptions about how the test code or the solution is structured. Nor can it safely make decisions on behalf of the user about they should interpret or make use of metrics provide…
25 Aug 2014 04:35 UTC
-
NCrunch does complete rebuild when opening a solution
Ok :) Thinking about the related thread you've posted regarding the space consumed by assembly references, I have a feeling that having the static reference copying turned off will probably make a very big difference in your initial build time. The upcoming v2.8 release does have a number of imp…
24 Aug 2014 11:29 UTC
-
static-refernces take up too much disk-space in workspace
Hi, Unfortunately, re-use of the _ncrunchreferences directory just isn't technically feasible with the way that NCrunch works. NCrunch works very hard to isolate projects from each other inside the workspaces, as they need to be able to be built independently and dynamically strung together to…
23 Aug 2014 10:42 UTC
-
NCrunch does complete rebuild when opening a solution
Hi, This is by design, as the workspaces are intended to be transient and regularly cleaned up. NCrunch does actually go to some pain to make sure the workspaces are cleaned up. On shut down it will launch a process that cleans up the workspaces about 10 seconds after the IDE shuts down (to ens…
23 Aug 2014 10:33 UTC
-
The primary reference could not be resolved (target mismatch)
Hi, thanks for posting! Does placing NCrunch in [url=http://www.ncrunch.net/documentation/troubleshooting_compatibility-mode]compatibility mode[/url] resolve this problem?
22 Aug 2014 23:27 UTC
-
Wrong metric calculation
The approach I had involved surfacing dotCover's console-output directives to TeamCity to tell it about the coverage file. For some reason, even when the coverage file was in the correct format and without problems, TeamCity still wouldn't pick it up. It might be worth just getting hold of a valid…
22 Aug 2014 05:42 UTC
-
weird build failure with resource/bmp files
Great! I'm glad I guessed that one right! Happy crunching :)
22 Aug 2014 05:34 UTC
-
Wrong metric calculation
Great stuff! I have to caution you about what you're trying though (covering to dotcover format for TeamCity import), because when I tried to do this myself, I couldn't get it to work :( Firstly, the data is in a different format (NCrunch is by source file where dotCover is by method/class). …
22 Aug 2014 05:31 UTC
-
weird build failure with resource/bmp files
Most likely NCrunch isn't aware of this resource file (see [url=http://www.ncrunch.net/documentation/considerations-and-constraints_implicit-file-dependencies]http://www.ncrunch.net/documentation/considerations-and-constraints_implicit-file-dependencies[/url] for more details). Is it possible tha…
21 Aug 2014 22:51 UTC
-
Wrong metric calculation
Yes! There is a beta version of a console runner available - [url=http://blog.ncrunch.net/post/Standalone-NCrunch-Now-Available.aspx]http://blog.ncrunch.net/post/Standalone-NCrunch-Now-Available.aspx[/url]. Take it for a spin if you like. I'm hungry for feedback on this right now, as it'll so…
21 Aug 2014 22:42 UTC
-
Wrong metric calculation
That's correct! A line with a NOP is still a line as far as NCrunch is concerned :) These lines can actually be quite useful for other features, such as breaking into the entry point of methods etc. For metrics I agree they may be less useful, but all of NCrunch's features stem from the same so…
19 Aug 2014 23:37 UTC
-
Wrong metric calculation
Hi, thanks for sharing this. The result is different because the source data is different. NCrunch tracks code coverage differently to dotCover. NCrunch works line-by-line, where dotCover is statement-by-statement. You'll notice that in the NCrunch metrics view this namespace is marked with …
19 Aug 2014 00:14 UTC
-
Build failure with InvalidCastException.
Sadly I've been unable to reproduce this problem using the signatures you've provided above. I think there must be another element here that I'm missing. I realise that you've already found a workaround to this problem, so I'm hesitant to ask for more of your time on this. If you're still exper…
18 Aug 2014 09:46 UTC
-
Show history of tests that failed recently?
Hi Ralf, At the moment, it isn't possible to get any history of test results using NCrunch. A new test run will overwrite any existing state held by NCrunch for the test. The problem you're experiencing is very common though. As we delve more and more into the realms of asynchronous programm…
16 Aug 2014 00:21 UTC
-
NCrunch stuck with building icon next to project and says "build failed"
Hi, thanks for sharing this issue. NCrunch is heavily dependent on the assembly resolution logic inside the CLR and MSBuild. Unfortunately, the rules that govern assembly resolution for both of these platforms are very complex. This makes it difficult to know exactly how the build or test appdo…
16 Aug 2014 00:17 UTC
-
jump to next compile error shortcut
Hi, At the moment this isn't possible. It isn't for lack of wanting this as a feature though. So far this hasn't been implemented because of the complexity involved (separation between the engine and UI etc). I think it will eventually be added as the engine continues to mature.
15 Aug 2014 13:25 UTC
-
Gallio runtime could not be initialized
Hi Chris, Great to hear! Let me know if you ever manage to narrow down what created this file.
15 Aug 2014 13:23 UTC