Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
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
-
Build failure with InvalidCastException.
Fantastic, thanks for providing this. I'll see if I can get it fixed!
15 Aug 2014 13:22 UTC
-
Gallio runtime could not be initialized
Hi Chris, Thanks for posting! This is a very interesting file (C:\Users\cb\AppData\Local\Remco_Software_Ltd\nCrunch.TestRunner.AppDom_Url_x13ctxwdzox4i2wigw405uc4bxpgd5ul\2.7.0.5\user.config), it isn't created by anything in the NCrunch codebase. I suppose it's possible that Gallio is creatin…
15 Aug 2014 11:12 UTC
-
Lower right circle shows more tests than we have
Hi Glenn, Thanks for posting! Most likely this is due to a difference in the way that the tests are being counted. Many areas of NCrunch (including the corner spinner) will tend to count a fixture as a test, since it has an independent pass or fail status. This means that if you have a fixtu…
13 Aug 2014 13:01 UTC
-
Possible to Use License on Shared Computer?
Hi, thanks for posting! NCrunch's licenses are per user, not per machine. This was intended to make things easier for people that use it on multiple machines (i.e. perhaps you use it at home, and on your work computer). Unfortunately, this does also make things a bit more complicated for hot de…
10 Aug 2014 23:53 UTC
-
Distributed processing:incompatible versions
Right. I'm fairly certain this won't be a Win7<>Win8 related issue, as the interoperability between these O/Ss using NCrunch is very well tested. If it isn't version related, then it's likely to be something in your environment. When NCrunch establishes a connection with a grid node, there is a…
09 Aug 2014 11:06 UTC