Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Env variable in NCrunch Cache Storage Path
Do you see NCrunch give any errors in its log when it attempts to load from this configuration file? This setting is being passed through a method to resolve environment variables, so something must be amiss. Are you able to share the value of this environment variable as this exists on your machi…
22 Mar 2017 12:08 UTC
-
NCrunch, Core 1.0.1 and BadImageFormatException
Thanks for your help. I've managed to reproduce and isolate this issue. The problem is that the CLR seems to have an issue with loading assemblies dynamically from the user's nuget packages directory. Not all assemblies are affected by this, which has me somewhat confused. System.Net.Http seem…
22 Mar 2017 11:53 UTC
-
NCrunch Console on dotnetcore without vstudio2017?
I've yet to test whether this is possible without Visual Studio. Most likely there is a maze of things you'll need to have installed. Are you also able to build the solution on this machine using MSBuild?
21 Mar 2017 23:23 UTC
-
NCrunch 3.6.0.2 requires your project to use .NET 4.6.2
Hi, This is caused by a regression in v3.6 where the engine is not detecting the correct version of .NET installed on the system. Detecting the newer versions of .NET is often difficult because these frameworks are usually released from Microsoft without any guidance on how to accurately detec…
21 Mar 2017 23:20 UTC
-
Unnecessary .ncrunchproject files
Sorry, there really isn't anything more I can do about this in NCrunch. It is normal practice for tools to place files adjacent to project files. The PreviouslyBuiltSuccessfully flag is an important value that needs to be stored per project. Removing this value would create problems far in exce…
21 Mar 2017 23:12 UTC
-
NCrunch console 3.6 ignores /E parameter?
Because the console tool is effectively just a headless version of the VS plugin, it isn't designed to perform incremental builds between sessions. However, the impact analysis does work between sessions because this data is stored in the NCrunch cache file and NCrunch performs a full diff betwee…
21 Mar 2017 11:34 UTC
-
build failed on Resharper Change Signature function
[quote=offset123;10063] My point was that both of these tests are _already_ pinned and the coverage should be updated automatically for both of them. Subsequently, when I changed the code, both were run and coverage was updated. So there seems to be some kind of malfunction (this wasn't happening i…
21 Mar 2017 10:38 UTC
-
NCrunch, Core 1.0.1 and BadImageFormatException
[quote=Der-Albert.com;10057]I hope that i can provide a simple repro for that problem. I've identified some thing in the *.deps.json, if i use the right Dependencies it should be reproducable. But this will take 1 or 2 days until i can take a spin on that.[/quote] Thanks, this does definitely loo…
21 Mar 2017 10:36 UTC
-
NUnit tests with the same name inside the same project.
Not necessarily. CanDoSomething2 isn't constructed using a user type, so the primitive values are fed straight through NUnit that must have some kind of null check in place for them. User types are very different, because they encapsulate their own .ToString() logic. There is no way for NCrunch…
21 Mar 2017 10:34 UTC
-
NCrunch console 3.6 ignores /E parameter?
I'm having trouble reproducing the engine mode override issue. It seems to use the specified engine mode for me every time. Are you sure you're entering the precise name of a pre-configured engine mode? The names are case sensitive. My guess is that by persistent workspaces you mean to have wor…
21 Mar 2017 10:30 UTC
-
build failed on Resharper Change Signature function
[quote=offset123;10060]Unfortunately even using the pinned tests mode doesn't seem to work correctly. I switched to running pinned tests automatically and have two pinned tests, but coverage bubbles are white for one. [img]https://pbs.twimg.com/media/C7bEyQQX4AAhMKk.jpg[/img][/quote] The pinn…
21 Mar 2017 10:17 UTC
-
NUnit tests with the same name inside the same project.
This is a technical limitation. There is no difference in the test name between a null value and an empty string, so the names are effectively duplicates. I recommend using .SetName() to set the name of the tests so that they are unique and distinctive.
21 Mar 2017 04:26 UTC
-
Any Plans to optimize ASP.NET, .NET Core Experience?
Ok, I'll try to help troubleshoot the assembly referencing issue in the other thread. When we get you up and running, I'll be interested to learn more about the performance of v3.6 on your system and whether there are any specific areas that need work.
20 Mar 2017 22:18 UTC
-
NCrunch, Core 1.0.1 and BadImageFormatException
Hi Albert, Can you confirm whether this is appearing for you with self-hosting tests or custom application domains? I'm trying to establish if this is happening the same way for you as it is for Rasmus, or if it is a similar looking issue with a different cause.
20 Mar 2017 22:17 UTC
-
NCrunch Runs Wrong Test(s)
Hi Ed, If possible, I would suggest evaluating your tests to try and find anything that might give an inconsistent sequence or result. It might be possible to reproduce the behaviour by repeatedly running the same tests using the NCrunch Tests Window. If you can do this, I'd recommend turning…
20 Mar 2017 12:45 UTC
-
Cannot get Rx.NET to work with NCrunch
Ok, try this: 1. Create a file adjacent to the project file. Call it 'ncrunch.targets'. Place inside it: <Project xmlns="(- BROKEN LINK -)"> <PropertyGroup> <TargetFrameworks>place;supported;targets;by;ncrunch;here</TargetFrameworks> </PropertyGroup> </Project> 2. Add a line to th…
20 Mar 2017 12:21 UTC
-
Invalid detection of 4.6.2 framework
[quote=Atreyu;10043]I was in a hurry, so I just installed the framework (had to reboot) and now it works.[/quote] Thanks, don't worry about retrieving the version number then. It looks like the v4.6.2 detection change introduced in NCrunch v3.6 was made based on misleading information. I guess …
20 Mar 2017 09:41 UTC
-
Invalid detection of 4.6.2 framework
Hi, Thanks for sharing this problem. This is caused by NCrunch failing to correctly detect the versions of .NET stored on your system. I thinks that .NET v4.6.2 is installed, though based on the error you've shown, this doesn't look to be the case. Would you be able to check something for …
20 Mar 2017 09:35 UTC
-
Gridnode Compatibility
Hi Matthew, Sorry about this. It's usually written in the release notes, but somehow this was missed. I've updated the release notes for v3.6 now to include the note about grid node compatibility.
20 Mar 2017 08:48 UTC
-
Cannot get Rx.NET to work with NCrunch
[quote=onovotny;10037]Hmm...actually, spoke a little too soon. While using a conditional on the TargetFrameworks element allowed NCrunch to work, I had tons of other issues within P2P refs in VS. The UWP -> System.Reactive project wouldn't even build that way. I don't think conditionals will work he…
20 Mar 2017 05:55 UTC