Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
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
-
Unit Test fails to get GUID from ThisAssembly.Git.Sha
[quote=Hunter-d-_-b;14246]With these settings it doesn't seem to run any tests at all. It shows green ticks next to 20 projects and question marks next to test projects.[/quote] With the instrumentation off, you'll need to queue up the tests manually as the impact detection will be disabled. Thi…
19 Dec 2019 22:53 UTC
-
.Net Core 3.1 with WPF classes fail
[quote=jotto;14242]Thanks for following up guys. Unfortunately I'm getting the same error with "Copy referenced assemblies to workspace".[/quote] Thanks for confirming this. Right now I believe it to be caused by this problem: [url=https://forum.ncrunch.net/yaf_postst2892_Could-not-load-file-or-…
19 Dec 2019 12:10 UTC
-
Could not load file or assembly after 4.2.0.7 update
An update on this problem... It's pretty big. This issue is downstream from some major package reference restructuring performed by MS with the release of .NET Core 3.0 and VS 16.4. We don't yet know how we're going to solve this, but it's safe to say that we won't have a solution within the …
19 Dec 2019 04:58 UTC
-
Unit Test fails to get GUID from ThisAssembly.Git.Sha
Thanks for sharing this. I'm not really sure what is happening here without a bit more context (i.e. full code sample), but is it possible this code is trying to retrieve extra metadata from an assembly under .NET Core? Can you confirm whether this behaviour is the same after trying the followin…
18 Dec 2019 23:33 UTC
-
.Net Core 3.1 with WPF classes fail
It's possible that this is a v4.2 regression - [url=https://forum.ncrunch.net/yaf_postst2892_Could-not-load-file-or-assembly-after-4-2-0-7-update.aspx]https://forum.ncrunch.net/yaf_postst2892_Could-not-load-file-or-assembly-after-4-2-0-7-update.aspx[/url]. We're investigating this. I recommend t…
18 Dec 2019 23:29 UTC
-
Could not load file or assembly after 4.2.0.7 update
[quote=tkarlsen;14231]We are having similar issues with the latest release. In our case we're on .NET Core 3.1, and we are getting System.IO.FileNotFoundException. Nothing has changed in our project since installing the new version, and it worked fine in the previous version.[/quote] Thanks for c…
18 Dec 2019 06:09 UTC
-
Xunit issue with ICollectionFixture<T>
I've had a go at trying to reproduce this problem using the same structure and configuration as you've described above. Unfortunately, the tests seem to work correctly every time for me. Are you able to reproduce this with a sample solution that you can share with me? You can submit code in ZIP…
16 Dec 2019 23:22 UTC
-
Could not load file or assembly after 4.2.0.7 update
Hi, thanks for sharing this with the use case to reproduce it! We're taking a look at this and will get back to you soon.
16 Dec 2019 03:21 UTC
-
Xunit issue with ICollectionFixture<T>
Hi, thanks for posting! Can you share any more specific details of the failure? Does any logging code on the CollectionFixture indicate things being called out of order? This all happens under the hood for us in Xunit, we simply tell it which tests to execute.
13 Dec 2019 22:32 UTC
-
NCrunch and FakeItEasy.Out And RefParameters Configuration Extensions
Hi, thanks for sharing this issue. My best guess here is that the loading of the type from this assembly is sequence specific. Probably if the referenced assembly has been previously loaded into the process, it works fine .. but if the test tries to run and load the assembly itself, it fails. …
13 Dec 2019 09:09 UTC
-
Missing exception info when crunching in optimized mode
Hi, thanks for sharing this issue. This problem is caused by the inability of the .NET 4.7.1 runtime to interpret portable PDB files. You'll find that if you compile this test project to a console application and try to run it, you'll have the same result. You're not seeing this in the VS run…
11 Dec 2019 11:19 UTC
-
Issue when building project with protobuf files
Hi Kenneth, Can you confirm whether these proto files are included in the projects themselves? If not, does adding them make any difference? Something you can also use if you don't want to add them is to try including them using the 'Additional files to include' project-level configuration se…
11 Dec 2019 11:10 UTC
-
NCrunch seems to slow down VS 2019 (16.4)
[quote] Thx for your time. I was typing in a C# File with about 100 or 200 lines of code, it seems, that ReSharpers ReSpeller Feature is the root cause, deactivating this feature helps, but there are still 3,8secs that is taken by NCrunch, is there anything I can do to mitigate that issue. Unfort…
11 Dec 2019 03:44 UTC
-
NCrunch seems to slow down VS 2019 (16.4)
Hi, thanks for sharing this issue. The snapshots you've provided suggest that the issue is appearing in the code we use to show coverage markers in the editor window. We haven't touched this code for a few years now, though I expect there's a possibility you might have found an edge case where i…
11 Dec 2019 00:05 UTC
-
NCrunch 4 - Instrumentation Mode - Optimized - "The name [x] does not exist in the current context"
Thanks for confirming! We were corrupting some of the metadata inside the PDB. It was affecting all projects building a non-portable PDB and only affecting yield/async methods as far as I can tell.
10 Dec 2019 11:59 UTC