Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
System.Runtime 4.1.2.0
Hi Paul, Thanks for sharing this problem. Troubleshooting assembly resolution issues like this one in .NET core is a horrific nightmare because assembly resolution has become very complex under .NET core. Could you check whether the grid node has the same versions of the .NET core runtime and…
15 Nov 2018 00:16 UTC
-
_SplitProjectReferencesByFileExistence
[quote=franckyj;12813]We've been bitten by this for 24 hours now and in the end it was because we installed a new version of powershell and we forgot to add the new path to the user path variable. I'm guessing ncrunch or msbuild uses powershell for some tasks and it couldn't find it. This is the exp…
15 Nov 2018 00:11 UTC
-
Bug: DataTestMethod with DynamicData shows wrong result
Hi, Thanks for sharing this issue. I've reproduced it as described and confirmed this is an issue in NCrunch's MSTest adapter. Would you like to try the build below to see if this solves the problem for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_3.23.0.3.msi]N…
13 Nov 2018 01:15 UTC
-
Cleanup of workspace, a lot of outdated files being kept?
[quote=GreenMoose;12806] 1) So in short, workspace disk usage will grow over time until it gets to a point where it always can find an unused existing workspace and reuse it, right? [/quote] Yes. The number of workspaces will be greatly affected by the number of execution threads and pooled pr…
12 Nov 2018 10:12 UTC
-
Cleanup of workspace, a lot of outdated files being kept?
Hi, thanks for posting. NCrunch follows the logic below with its workspaces: 1. A change has been made to a project, so the project must be rebuilt 2. NCrunch launches a Build Task. The build task attempts to secure a workspace to build the project 3. If an available workspace exists that isn…
09 Nov 2018 19:05 UTC
-
Question on licensing
Hi, thanks for posting! The license key system is only client-side. This means that if you have a license to use NCrunch on your machine, you can use as many grid servers as you want :)
09 Nov 2018 18:52 UTC
-
Cannot build and run tests in a complicated server/client project
In all fairness, it's been 6 years since those links were posted. Here is the updated documentation: [url=https://www.ncrunch.net/documentation/troubleshooting_project-build-issues]Troubleshooting build issues[/url] [url=https://www.ncrunch.net/documentation/troubleshooting_test-and-runtime-rela…
09 Nov 2018 09:10 UTC
-
VS2015 & old NCrunch: 'Framework46' not installed on this machine
Hi Markus, The version of NCrunch you're using was coded with an incorrect value in the checking for the version of .NET installed. Although this worked fine at the time, when a later version of .NET was later installed the check became invalid and no longer worked correctly. The correct solu…
30 Oct 2018 00:23 UTC
-
MSpec test fails intermittently due to state being maintained between runs
Hi, thanks for posting! I'm glad the churn mode feature is working well for you. This issue is due to the design of MSpec and the test in question. Like most runners, MSpec was originally designed to run all tests once, then terminate. NCrunch changes this behaviour by re-using the test runn…
25 Oct 2018 00:10 UTC
-
"Unable to write to file while transferring snapshot to node: some-nuget-package-dll"
[quote=Amarok;12791] If I understand you correctly, even though the error message is generated the build and tests should continue to work. But, exactly that is not working for us. We observe clients to start transferring files and packages, then generate one or more of those error messages and the…
24 Oct 2018 10:54 UTC
-
"Unable to write to file while transferring snapshot to node: some-nuget-package-dll"
Hi Olaf, I've just reviewed the code in question here to update my understanding of what is happening here and how all this works. I'll try to describe it in detail for you so that you can cross-check it with your own environment. 1. NCrunch client loads your projects and for each project, es…
23 Oct 2018 23:36 UTC
-
Setting Console output and error report
Hi, thanks for sharing this issue. Exceptions from failed assertions are output to NCrunch using the console output stream. To capture all exceptions thrown in an environment and all other data, NCrunch redirects the console output stream to its own internal buffer. By redirecting it yourself, …
23 Oct 2018 22:19 UTC
-
TFS Test Results Integration
[quote=dxbydt;12777]Is there a way to get TFS to utilize the NCrunch results for its Test Results and Code Coverage reports? Would this require a new plugin as a new feature?[/quote] Yes, unfortunately. This would require deep integration with TFS. I am not knowledgeable enough about TFS to kno…
22 Oct 2018 23:44 UTC
-
MSBuild does not run tests using NCrunchRunner project
[quote=dxbydt;12776]Nevermind, I figured out that it wasn't running tests because OutDir wasn't defined. OutDir has been deprecated and replaced by OutputPath. I changed the check to look for OutputPath and now it runs.[/quote] Thanks for confirming the issue here. I wasn't aware that OutDir was…
22 Oct 2018 23:34 UTC
-
NCrunch 3.22.01 doesn't appear in VS2017
Hi, thanks for sharing this problem. Can you confirm if you've installed the product manually or via MSI? If you haven't already, definitely try the [url=https://www.ncrunch.net/documentation/troubleshooting_installation-and-setup-problems]steps listed here[/url]. Make sure you follow every s…
22 Oct 2018 11:12 UTC
-
"Unable to write to file while transferring snapshot to node: some-nuget-package-dll"
Hi Olaf, Thanks for sharing this issue. The problem here is that NCrunch is attempting to update the binary of a Nuget package while test runner processes are working on the grid node and making use of the same package. For NCrunch to be updating these package DLLs while they are in use, ther…
22 Oct 2018 11:11 UTC
-
Error on conditional breakpoint
Hi, thanks for sharing this problem. NCrunch's instrumentation rebuilds the PDBs, and sometimes this can do odd things with the debugger. Can you confirm if you're able to access the 'projectionYear.Year' value using the immediate window in your debugger when you're stopped in the context of t…
18 Oct 2018 22:09 UTC
-
Additional NCrunch Build Properties
[quote=robmen;12762] Hmm, I don't see ProjectName or ProjectFileName being set outside of NCrunch. In my prototypical project, I manually [url=https://github.com/robmen/PrototypicalProject/blob/203f0f8c0f34ffcdd49350b31ecdd7347dba624e/Source/Directory.Build.props#L4]set ProjectName to MSBuildProjec…
17 Oct 2018 00:10 UTC
-
Additional NCrunch Build Properties
Hi, thanks for posting. It's possible now to see a list of all the properties NCrunch injects into your build system by setting your 'Log Verbosity' setting to 'Detailed', then examining one of your build tasks in the processing queue. Around all the other trace data, you'll find a small section…
15 Oct 2018 23:16 UTC
-
Can I exclude certain files from the NCrunch Metrics based on filename pattern?
Hi Peter, Thanks for posting! There's no feature in NCrunch that lets you exclude coverage from files based on a wildcard. You're welcome to [url=https://ncrunch.uservoice.com]request one on uservoice[/url] if you like. Right now the exclusions are only handled through the toolbar options on…
15 Oct 2018 09:20 UTC