Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
.NET6 SDK must be always updated?
Can you confirm whether this seems to always affect the same package, or does it seem to be a different package every time? Also, how often does the problem appear?
12 Oct 2022 22:22 UTC
-
.NET6 SDK must be always updated?
Hi, thanks for sharing this video. It looks like somehow the nuget package is being intermittently removed from the node. When this happens, does reconnecting to the node from the client (by cycling the node on and off via the distributed processing window) temporarily suppress the problem? I…
12 Oct 2022 09:48 UTC
-
The target "NCrunchPrepareForBuild" does not exist in the project (again)
Thanks for sharing the test project. I've now managed to reproduce this problem and I've implemented a fix. Would you be interested in trying the build below? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.15.0.2.msi]NCrunch_Console_4.15.0.2.msi[/url] [url=https://s3.a…
11 Oct 2022 08:12 UTC
-
The target "NCrunchPrepareForBuild" does not exist in the project (again)
Thanks for these extra details. I've tried to follow your instructions but ended up with something very different. There are a range of options available under the VS Azure Function template and I'm not sure which ones you're using. Could you upload a ZIP of the failing project?
06 Oct 2022 23:19 UTC
-
WPF projects don't compile anymore when dotnet7 is installed
[quote=egilgamesh;16293] We decide later to do clean windows OS installation for these machines, and the problem is gone, is there any cache/ Registry record files need to consider when we remove Ncrunch from Machine?[/quote] The NCrunch uninstaller should take care of anything relevant here. …
30 Sep 2022 23:23 UTC
-
The target "NCrunchPrepareForBuild" does not exist in the project (again)
[quote=Careidas77;16291]I will give it a try, and get back to you, but I'm not confident I will be able to reproduce the error. In the meanwhile, is there any information from the current project, configuration, target-file, whatnot that I could provide that would be of use for you in investigating …
30 Sep 2022 07:08 UTC
-
The target "NCrunchPrepareForBuild" does not exist in the project (again)
Hi, thanks for sharing this issue. We do now have properly considered support for Azure function projects, which we didn't have back when this was posted 3 years ago. As such, this is supposed to work without needing to have the workaround in place. Are you able to build us a sample project…
28 Sep 2022 23:14 UTC
-
WPF projects don't compile anymore when dotnet7 is installed
Is it possible the machines are running different versions of the NET7 SDK? Are these machines able to run any kind of NET7 application? i.e. if you build a console app referencing a NET7 project, does it run?
28 Sep 2022 23:10 UTC
-
WPF projects don't compile anymore when dotnet7 is installed
Hi, sorry to hear there's another issue here. Is this something you can reproduce with a sample project that you can [url=https://www.ncrunch.net/support/contact]share with us[/url]? Right now we don't know how to produce this problem.
27 Sep 2022 23:35 UTC
-
Build failure when MSBuildProjectExtensionsPath is set
[quote=yizhou;16282]Thanks, Remco, for the information. Currently our workaround is to import the nuget props explicitly in csproj for NCrunch. [code=xml]<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>net472</TargetFramework> </PropertyGroup> <Import Project="…
27 Sep 2022 00:09 UTC
-
Build failure when MSBuildProjectExtensionsPath is set
[quote=yizhou;16280]Thanks Remco. Our build system relies on setting this MSBuildProjectExtensionsPath property. I've tried suppressing it for NCrunch before, but I got this error that [b]obj\project.assets.json[/b] is not found. The generated files are in [b].pkgref[/b] folder as we set in MSBuil…
24 Sep 2022 11:08 UTC
-
Build failure when MSBuildProjectExtensionsPath is set
Hi, thanks for sharing this. You are correct. Changing this property will break NCrunch. To enable NCrunch to work with MSBuild, we need to override certain things and make adjustments inside the build. This does mean there are certain things we simply can't support (like changing this propert…
23 Sep 2022 23:28 UTC
-
NCrunch 4.14.0.7 build fails while VS2022 17.3.4 compiles without issue
Hi Thomas, Thanks for sharing this issue. This looks to be an internal error in NCrunch which I think may be caused by the structure of your project file. Can you check for me whether the project file is correctly formed and has a closing </Project> tag at the end of it?
23 Sep 2022 23:16 UTC
-
DataRow tests with nullable enums fail to run
Thanks for sharing this issue with the code sample. I've reproduced it as described. I'm looking into this now to see what options we have for fixing this. For the time being, I recommend switching your 'Framework utilisation type for MSTest' to 'DynamicAnalysis', as this has better support f…
23 Sep 2022 05:25 UTC
-
Cannot run NCrunch due to hostfxr.dll
Could you please check the following? - Make sure all recent windows updates are installed (see [url=https://docs.microsoft.com/en-us/answers/questions/856207/failed-to-load-the-dll-hostfxrdll-dotnet-ef.html]here for interesting Q&A[/url]) - Try disabling any virus scanner running on your system…
17 Sep 2022 00:01 UTC
-
Cannot run NCrunch due to hostfxr.dll
[quote=thobey;16268]I want to build for X86. And I have stated that in the configuration in NCrunch under "Use Cpu architecture"[/quote] Can you confirm whether your project is built to target the X86 platform? We've found working with X86 can sometimes be more trouble than it's worth under th…
15 Sep 2022 23:32 UTC
-
Licence Upgrades
Hi, thanks for posting. I received your query about this via the support contact. We're following up with the reseller to find out what has happened with your order. I'll be in touch with you via email when we know what's going on.
15 Sep 2022 12:29 UTC
-
Cannot run NCrunch due to hostfxr.dll
It looks like this is resolving to the x86 (32-bit) path of dotnet. Is it possible you installed the x86 build of dotnet by accident, but meant to get x64 instead?
15 Sep 2022 12:28 UTC
-
Cannot run NCrunch due to hostfxr.dll
Hi, thanks for sharing this problem. I haven't seen this one before. I agree it looks like something needs to be (re)installed. Where do you receive this error? Does it happen when NCrunch tries to discover tests?
15 Sep 2022 00:02 UTC
-
Is it possible to run tests for two different buidl configurations?
Hi John, Thanks for posting. Are you able to share any details on how your build configurations have been separated? Do you have physically separate projects, or are you cross-compiling your solution using multiple TargetFrameworks?
14 Sep 2022 23:57 UTC