Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Could not load file or assembly after 4.2.0.7 update
Thanks for sending these through. I've had a good go today at trying to reproduce this issue using the into in the .deps files you submitted. Unfortunately, I haven't managed to get this to fail on my side. You have quite a complex structure in your solution with many different packages being…
14 Jan 2020 01:01 UTC
-
NCrunch 4 - Optimized mode - Debugging tests is mission impossible?
Thanks again for sending through the sample to reproduce this issue. I appreciate that this must have been difficult to create - the problem was related to the size of the assembly. Would you be interested in trying the build below? I'm hopeful that this should solve the issue. [url=https://s3…
13 Jan 2020 23:36 UTC
-
Could not load file or assembly after 4.2.0.7 update
[quote=IngemarWard;14354] Unfortunatly same problem as far as I can see. [/quote] I'm sorry to hear that. Is there any chance we can get a copy of the .deps file generated by MSBuild for the test project you're using? This file contains dependency information that we can hopefully use to repr…
13 Jan 2020 11:42 UTC
-
IpcConnectionClosedException: The connection has been closed
Thanks Keith. I can offer some explanation for why NCrunch gave this error but VS didn't. The error is a generic exception thrown for when the task runner .EXE just disappears without any reason or error given. There are a multitude of things that can cause this. In the case of .NET Core, the …
11 Jan 2020 08:24 UTC
-
exception running tests on the grid
This looks to be an internal concurrency issue caused by a race condition. It'll take a deep code review to figure out exactly what is happening here. How is this error being reported for you? Does it appear on one of the test tasks or in the Tests Window? Is it happening locally or on a gri…
10 Jan 2020 22:55 UTC
-
NCrunch Tests window displays no tests
Hi Tom, Is it possible that the tests have been ignored by mistake? (check the show ignored option in the Tests Window). You can reset your NCrunch configuration by removing the .ncrunchproject and .ncrunchsolution files from your solution directory. The global configuration file is at C:\Us…
10 Jan 2020 22:38 UTC
-
Target Framework defined in Directory.Build.props causes ncrunch to fail
[quote=UppSol;14336] @Remoco it's working on my end without specifing the framework in my NCrunchConfig, it's working in all my current solutions (about 10 different solutions). I can send you a sample solution, can it be coincidence? We are using .Net 4.7.2 [/quote] Are these multi-targeted p…
10 Jan 2020 10:30 UTC
-
Target Framework defined in Directory.Build.props causes ncrunch to fail
[quote=UppSol;14332] Starting with VS 16.4 you no longer need to specifiy the target framework for each project --> therefore you can remove it from every csproj file an add it to the directory.build.props file (I have done this with my solutions and it works with R# Build, VS Build and also with N…
09 Jan 2020 22:45 UTC
-
NCrunch 4 - Optimized mode - Debugging tests is mission impossible?
[quote=Advisto;14328] I've just submitted my reproduction via the contact form.[/quote] Thanks! We'll get back to you as soon as we've had a chance to look at this in detail.
09 Jan 2020 09:22 UTC
-
Target Framework defined in Directory.Build.props causes ncrunch to fail
Hi, thanks for sharing this issue. This is a known limitation with the way we handle the TargetFramework(s) property under NCrunch. At present, we haven't found a feasible way to solve this problem. Unfortunately, you'll need to have each project explicitly declare its target framework using …
09 Jan 2020 09:20 UTC
-
ASP.Net Core 3 ContentRoot?
[quote=hhoangnl;14317]I have a similar issue. Upgrading a project from 2.2 to 3.1 causes all TestServer related unit tests to fail. However, they succeed in ReSharper's unit test tool.[/quote] Hi, thanks for sharing this problem. I'm having some difficulty reproducing it. Are you able to build…
08 Jan 2020 00:11 UTC
-
ASP.Net Core 3 ContentRoot?
Hi Brian, I'm not sure why this has started happening for you in the new version of NCrunch. I wasn't aware that we'd changed anything here. NCrunch always places projects in different numerical paths under the workspace root. The best way to find a project is to actually use the location of…
07 Jan 2020 00:11 UTC
-
NCrunch error when impersonating Windows user in a test
Hi Eric, Thanks for posting. I'm not 100% sure how your impersonation code is working, but I'd be fairly certain that the act of switching to a different user profile does create a new process to execute your code. This process won't be wired with all NCrunch's magic used to find assemblies b…
07 Jan 2020 00:05 UTC
-
Console Tool BuildFailure says Framework472 isn't installed
Hi, thanks for sharing this problem. Possibly, you have a build of net472 that has a different version number to the one we're checking for. Another possibility is that your net472 installation may be corrupt. Which O/S do you have installed? Can you check the value of the following regist…
06 Jan 2020 12:17 UTC
-
Issue building project using tools NuGet package
Hi, thanks for sharing this issue. I think this is just a case of NCrunch not detecting the dependency on some of the library files stored in the package's directory. Try adding the entire package directory using the 'Additional files to include' setting. This should ensure all the files get co…
04 Jan 2020 22:26 UTC
-
FrameworkReference Build Error on a netcoreapp2.1 Target Build
Thanks for sharing this problem. [quote]Which seems supper odd, considering this is a .Net Core 2.1 project, before FrameworkReference existed.[/quote] Unfortunately, the new tooling introduced with .NET Core 3.0 has replaced the existing build system for .NET Core 2.1. Merely by having the n…
03 Jan 2020 23:43 UTC
-
TargetInvocationException Looping
Thanks for sharing these problems. Would you mind copy/pasting the contents of your .csproj file to the forum? If you're concerned about placing it publicly, you can also send it through the [url=https://www.ncrunch.net/support/contact]NCrunch contact form[/url]. NCrunch is reliant on VS to upd…
02 Jan 2020 23:27 UTC
-
Risk/Progress bar not remembering width.
Thanks! We'll take a look :)
29 Dec 2019 22:40 UTC
-
Unit Test fails to get GUID from ThisAssembly.Git.Sha
Can you try [url=https://www.ncrunch.net/documentation/troubleshooting_compatibility-mode]compatibility mode[/url] to see if this has any effect on the problem?
20 Dec 2019 23:50 UTC
-
Failing to build: The "NullableContextOptions" parameter is not supported by the "Csc" task
Hi, thanks for sharing this issue. This looks like a desynchronisation issue between the version of MSBuild being used in your updated version of Visual Studio and the custom version of CSharp being targeted using the Microsoft.Net.Compilers package. Do you require the use of this package in y…
20 Dec 2019 09:22 UTC