Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Post Build Event Failing
My guess at the moment is that the post build event is copying the files to the build output directory of GitClassLibrary, although either the test code or the code under test is trying to find the files in the build output directory of TestProject. When running the tests outside of NCrunch, both o…
04 Jun 2013 09:22 UTC
-
Post Build Event Failing
Great, that's progress! I'm wondering if the DllNotFoundException is being caused by libgit2sharp making [url=http://www.ncrunch.net/documentation/considerations-and-constraints_assembly-colocation-assumptions]assembly colocation assumptions[/url]. A quick fix to this may be to turn on the [url=ht…
03 Jun 2013 03:57 UTC
-
ncrunch can' t build at first time.
Thanks for sending through the bug report. I'm wondering if you'd be able to try the following steps: 1. Reinstall NCrunch: Run the uninstaller, ensure that the directory at "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Remco Software" and everything in it is remove…
02 Jun 2013 22:50 UTC
-
Post Build Event Failing
Hi, thanks for posting! My first thought is that the post build event is [url=http://www.ncrunch.net/documentation/considerations-and-constraints_implicit-file-dependencies]trying to copy files that don't exist in the NCrunch workspace[/url]. This is most likely because the files aren't referenc…
02 Jun 2013 22:41 UTC
-
Strange behaviour -- installation corrupt?
Hi, thanks for sharing this issue! The complicated thing with developing plugins for Visual Studio is that they are different pieces of software developed in isolation of each other, and it's possible that they may make use of different versions of the same component - causing clashing within the…
01 Jun 2013 00:55 UTC
-
Issue when using conditional compilation symbols in linked file
Hi Yang, Thanks for sharing this! I was able to solve this problem by adjusting the NCrunch configuration for the test project, setting 'Use build platform' to x86. The core issue is that NCrunch doesn't make use of the settings in the Visual Studio Configuration Manager when building projects.…
01 Jun 2013 00:27 UTC
-
ncrunch can' t build at first time.
There shouldn't be any problems with running x86 processes on an x64 processor - so most likely it will be something else. I'm wondering if you'd be able to help with answering a few quick questions - this will help with narrowing down the cause of the problem: - Which version of Visual Studio a…
30 May 2013 22:55 UTC
-
ncrunch can' t build at first time.
Hi, thanks for posting! This issue appears when NCrunch tries to create a process in which to execute tests. In rare situations where the process completely fails to initialise, the invocation will time out. Is it possible that you've set up the test project or NCrunch to create an x64 testin…
30 May 2013 12:51 UTC
-
Copying files with custom build action
Hi David, The approach you have above is one of two ways you can solve this problem. The other option is to use the [url=http://www.ncrunch.net/documentation/reference_project-configuration_additional-files-to-include]additional files to include[/url] configuration option. This would probably b…
28 May 2013 22:33 UTC
-
NCrunch does not honor CopyLocal settings in project file.
Hi, Thanks for sharing this issue. NCrunch currently doesn't acknowledge the Private properties as assigned to reference elements in the build script - I'll make a note to include a future fix for this. I can't think of any workaround that will prevent NCrunch from removing these properties f…
27 May 2013 11:30 UTC
-
Testlocation with DeploymentItem inconsistent
Hi Matt - If you're experiencing consistent behaviour in this situation, it's quite likely your experiencing a different problem. Make sure that you've made NCrunch aware of the files that need to be copied by adding them to the [url=http://www.ncrunch.net/documentation/reference_project-confi…
25 May 2013 01:30 UTC
-
NCrunch gets sluggish after a while while devenv.exe having high cpu usage.
Something that may happen is that the closing of the windows takes a while to kick in, because the engine is already overloaded before this happens and it will take a while to register that the windows have been closed. Until then, the lagged processing will continue until it has cleared the backlo…
25 May 2013 01:16 UTC
-
Make NCrunch's NuGet package support Portable Class Library
Thanks for reporting this one! I'll make sure it gets addressed with the compatibility improvements in V2. Cheers, Remco
25 May 2013 01:11 UTC
-
Is it possible to run each test in a separate process to prevent issues with mocked static methods?
Do you notice any difference if you set up NCrunch in [url=http://www.ncrunch.net/documentation/troubleshooting_compatibility-mode]compatibility mode[/url]? This would help to narrow down if the issue is being caused by NCrunch's environment, or something with TypeMock Isolator.
24 May 2013 03:22 UTC
-
NuGet2.5 native assemblies
It's interesting that NCrunch isn't picking up the native assemblies using its normal reference resolution. Is it that these assemblies are co-located with other files needed for them in order to run? A lower maintenance but more expensive (performance-wise) way to handle this would be to include …
23 May 2013 21:36 UTC
-
NCrunch gets sluggish after a while while devenv.exe having high cpu usage.
Thanks - this narrows the issue down significantly! It looks as though the step in question is part of the mapping routine where NCrunch synchronises the data from the engine and prepares it for display in the editor window. This has already been identified as a performance issue in V1, but beca…
22 May 2013 23:14 UTC
-
Second line of multi-line statement reported as uncovered
NCrunch works fairly low-level in its collection of code coverage information, which can sometimes create ambiguity around LINQ statements - there's some more information about the difference between physical and logical test coverage [url=http://www.ncrunch.net/documentation/troubleshooting_missing…
22 May 2013 11:59 UTC
-
Some way of locating test "under cursor" in test window
Normally, the Hot-key combination "Ctrl+M, P" should pin the covering test to the Tests Window, while also setting focus on it. It was part of the intention of the pinned test feature that it could be used for just this reason. Unfortunately, after trying it with active tests shown in the list, it…
22 May 2013 09:39 UTC
-
NCrunch gets sluggish after a while while devenv.exe having high cpu usage.
Hi, Thanks for sharing this issue. When NCrunch becomes unresponsive (and the CPU usage starts to stay high), do you notice any general slowdown in other activities in the IDE? For example, are you able to scroll around your source code, making changes, opening files, etc? If the IDE is stay…
22 May 2013 09:35 UTC
-
Is it possible to run each test in a separate process to prevent issues with mocked static methods?
Hi, thanks for posting! NCrunch won't ever run tests concurrently within the same process, but it will re-use processes between execution runs. Traditional serial test runners don't do this, so not all tests have been engineered to consider it. Broadly, there are two ways to do what you're aski…
22 May 2013 06:50 UTC