Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Adding tracesource configuration to ncrunch processes
Hi, thanks for posting. Usually, it should be possible to add this to the config file for the test project (i.e. myproject.config). NCrunch specifically detects test project config files and will include them in the runtime environment by using them as the source of configuration for the test ap…
16 May 2017 22:09 UTC
-
New csproj format with TargetFrameworks & one target causes NCrunch to fail to build
Hi, thanks for sharing this problem. Yes, unfortunately this gives a terrible error message. VS actually used to give the same message, but MS have fixed this now. There is a fix pending for this in the next version of NCrunch. Apologies if this has resulted in wasted time.
16 May 2017 22:05 UTC
-
Manual Installation improvement
Isn't it simply possible to Ctrl+A, right click, properties, unblock all of them? Or does the directory structure complicate this?
16 May 2017 22:03 UTC
-
Manual Installation improvement
Thanks Albert. I saw your post in the other thread about the bad experience here .. sorry about that. The powershell script is a good idea. I've had many support requests raised over the years about blocked at O/S level. Edit: I'd need to test whether the powershell script would need to be u…
16 May 2017 09:48 UTC
-
NCrunch 3.7 causes VS 2017 to crash if you edit a .NET Core csproj file
Hi, Thanks for sharing this issue. I've managed to reproduce it in the way you've described, it's very consistent. I hope to have a fix available sometime soon.
15 May 2017 01:08 UTC
-
Engine mode overriding custom environment variable, override 1 and not all?
At the moment, it's a full replacement of all existing values ... so there is no inheritance inside the value itself. I agree inheritance would be more useful. It is the way it is simply because of time/complexity constraints.
11 May 2017 09:39 UTC
-
NCrunch3.7 .Net Core error
Hi, thanks for touching in and for sharing the sample solution. The problem in your case is being caused by the way the target frameworks are specified in your project file. Try changing the following: <TargetFrameworks>netcoreapp1.1</TargetFrameworks> To: <TargetFramework>netcoreapp1.1…
10 May 2017 23:50 UTC
-
Local variables unavailable when debugging
Hi, Sorry to leave this thread hanging, but this problem was actually resolved in a build quite some time ago. It's likely you've encountered something different. Are you able to share any examples of the code that seems to suppress variable data at debug time? If I can reconstruct the problem…
10 May 2017 22:09 UTC
-
NCrunch attributes on interface?
[quote=GreenMoose;10359]Ok thanks. As an alternative approach, maybe it is possible to have something like NUnit's TestContext e.g. NCrunch.TestContext.CurrentTest.Attributes or similar? Then one could take actions depending on existence of them (in my case fail the test if the actual tests are n…
10 May 2017 02:16 UTC
-
NCrunch Issue with NuGet Package with Generic
Thanks for the sample solution. It's very useful that you were able to submit all components relevant to the problem. I appreciate the effort it would have taken you to whittle this down. The problem appears to be caused by the obfuscation of the NuGet package. The obfuscator being used here a…
10 May 2017 02:12 UTC
-
NCrunch Issue with NuGet Package with Generic
Looks like it is coming through now. Thanks for your help. I'll get back to you as soon as I have more information.
09 May 2017 23:29 UTC
-
Configuration/UseBuildConfiguration not supported by console tool?
Thanks for sharing this. I've just checked the handling here, and it looks like I designed the configuration override system to deliberately fail for all project-level settings. I don't completely remember why it's been done this way. It seems like it would be useful to be able to override thes…
09 May 2017 23:28 UTC
-
NCrunch Issue with NuGet Package with Generic
Thanks for coming back to this one! For some reason, the sample didn't make it through the contact link. Do you have any other way you can share it with me? Otherwise you could try emailing it to support at ncrunch dot net.
09 May 2017 23:21 UTC
-
NCrunch attributes on interface?
Hi, thanks for sharing this. When NCrunch scans for attributes attached to a method, it searches only through base classes - not interfaces. Although it could be possible to adjust this, I have some reservations for doing so. The code that performs this scanning is performance critical and ad…
08 May 2017 23:00 UTC
-
NCrunch3.7 .Net Core error
[quote=kolhapuri;10355]Thanks for your help. This seems to have resolved itself which is unfortunate since we are not able to pinpoint exactly what was causing it. I washaving issues using ncrunch inside vs2017 on the build machine. Tried all the different things suggested on the ncrunch site. Noth…
08 May 2017 22:53 UTC
-
NCrunch3.7 .Net Core error
Thanks for the extra details. This has me quite confused, as the load/build operation of the console tool is identical to that of the VS addin. The only real differences between them are in the synchronisation system. I wonder if this might be related to user accounts. Does the console tool ru…
06 May 2017 23:07 UTC
-
NCrunch3.7 .Net Core error
Thanks! A couple of things that will help to narrow this down, considering that the solution works when you use it in VS on your dev machine ... - Can you check whether running the console tool against the working copy on your dev machine performs as expected, or whether this gives the same erro…
06 May 2017 06:40 UTC
-
NCrunch3.7 .Net Core error
Hi, thanks for sharing this issue. The '_SplitProjectReferencesByFileExistence' error usually appears when MSBuild fails to resolve the targets imported by the project. Because this is a .NET Core project, the imports tend to be behind the scenes rather than listed in the file itself. Does th…
05 May 2017 22:43 UTC
-
test runner processes recreated multiple times give poor performance
Thanks Johan. I think I've figured this issue out. If you right click on a test in the Tests Window and go to the 'Advanced' submenu, you'll see a couple of options here; one to run the tests using a new process, one to run the tests using an existing process. If you just hit the 'Run' option o…
03 May 2017 23:08 UTC
-
Windows 10 compatibility
Thanks for clarifying, this makes sense to me now. Given the release date of Windows 10, versions of NCrunch from v2.16 onwards should in theory work with this O/S. However, Windows 10 is an ever-evolving O/S, and Microsoft have been pushing regular updates since its first release. This makes…
03 May 2017 21:55 UTC