Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
MSTest AssemblyInitialize & TestContext
Hi, thanks for sharing this. There's a bit of history behind why this is the way that it is. The properties in the TestContext here (namely ResultsDirectory, which is the one you're after) get populated by MSTest when it sets up a temporary deployment directory prior to the tests being run. Var…
09 Dec 2021 00:27 UTC
-
NCrunch cannot build .NET Standard 2.0 projects
[quote=Marcello;15865]Hi Remco, The new build fixes the issue! Thanks a lot for your effort.[/quote] Great to hear! Thanks for your patience. We got there in the end :)
07 Dec 2021 23:49 UTC
-
Test Run Life Cycle
Hi Ed, Thanks for sharing this. Your Test_Factory method is invoked by NUnit during a test discovery step that under NCrunch is physically separate from the execution of tests, and in some cases is even run in an entirely different process. It's dangerous to introduce direct dependencies betwee…
07 Dec 2021 23:26 UTC
-
NCrunch cannot build .NET Standard 2.0 projects
[quote=Marcello;15863]Do we need an additional license for v4.12.0.1?[/quote] As far as I can tell, the licenses for your site are still well within their support period, so v4.12 should work fine with your existing licenses.
07 Dec 2021 12:37 UTC
-
NCrunch cannot build .NET Standard 2.0 projects
[quote=Marcello;15861]Can v4.12.0.1 be installed side-by-side with v4.11.0.2? I ask this because when we upgraded from v.4.9 to v.4.11 all the developers here had to upgrade the client in their machine as well.[/quote] Sorry, I had to change the grid protocol to implement this fix, so v4.12 wo…
06 Dec 2021 21:28 UTC
-
Load Failure
[quote=spolonski;15859]Sorry, i can't reproduce it anymore. I have not saved files from the directory C:\Users\f-tfsbuild\AppData\Local\NCrunch\BuildSystem [/quote] Fair enough :) The fix included in this build makes NCrunch more resilient to corruption of this particular directory. I think…
06 Dec 2021 12:14 UTC
-
NCrunch cannot build .NET Standard 2.0 projects
Could you try the build below and let me know if it solves the problem for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.12.0.1.msi]NCrunch_Console_4.12.0.1.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.12.0.1.zip]NCrunch_Console_4.1…
04 Dec 2021 12:29 UTC
-
Load Failure
Could you try the build below and let me know if it solves the problem for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.12.0.1.msi]NCrunch_Console_4.12.0.1.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.12.0.1.zip]NCrunch_Console_4.1…
04 Dec 2021 12:29 UTC
-
Load Failure
Thanks for confirming this. I'm wondering if you can check the following for me: - Is there any difference if you specify the version of Visual Studio to be used by the console tool through the /VS parameter? - Which versions of Visual Studio or the MSBuild tools do you have installed on your b…
03 Dec 2021 01:36 UTC
-
NCrunch cannot build .NET Standard 2.0 projects
Great work, I think you've found it. Here is the .nuget.g.targets file as it exists on my machine (prior to being uploaded to the grid node): [code] <?xml version="1.0" encoding="utf-8" standalone="no"?> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> …
02 Dec 2021 23:42 UTC
-
Load Failure
The logs indicated that this setting is overridden for a number of the projects in your solution. I've identified an issue that can cause erroneous behaviour when the setting has different values between projects. Does removing the setting value at project level for all your projects (thus mak…
02 Dec 2021 11:36 UTC
-
Load Failure
Thanks for sending this through. Could you confirm for me if you have the NCrunch 'Build process CPU architecture' setting set to a consistent value for all the projects in your solution, and if not, does setting this to the same thing for all projects resolve the issue?
02 Dec 2021 09:12 UTC
-
NCrunch cannot build .NET Standard 2.0 projects
I've done some experimentation here with a local VM and I'm wondering if you could try a few things for me. The relevant item here is the protobuf-net.csproj.nuget.g.props inside the obj directory in the workspace on the grid node. This file contains the references to the Nuget package root used…
01 Dec 2021 00:36 UTC
-
NCrunch cannot build .NET Standard 2.0 projects
Thanks! This is extremely interesting. The protobuf-net.csproj.nuget.g.props file contains a number of paths that don't appear to have been correctly mapped by NCrunch. It's not clear to me yet why this fails in your environment but not others. I'm going to take a deeper look at this and will ge…
30 Nov 2021 03:56 UTC
-
NCrunch cannot build .NET Standard 2.0 projects
Thanks for showing this. When you perform a /t:Restore in the NCrunch workspace, you are replacing the platform bindings in the workspace with new bindings that are set up for the grid node. This isn't a solution we can implement in NCrunch, as it significantly slows the build system on the nodes …
26 Nov 2021 23:01 UTC
-
NCrunch cannot build .NET Standard 2.0 projects
[quote=Marcello;15840] Were you able to reproduce the issue there with a machine with only VS2019 build tools and SDK 6.0.100?[/quote] I've spent the last two days trying to set up an environment to reproduce the issue you've described. Perhaps needless to say, I'm not impressed with the stabil…
26 Nov 2021 03:40 UTC
-
NCrunch cannot build .NET Standard 2.0 projects
Could you please send through a new log produced with the 'Build log verbosity' NCrunch setting set to 'Diagnostic' on your client machine? This will add detailed information about package and assembly resolution activities occurring inside the build and may be quite revealing (I would also recomme…
25 Nov 2021 09:51 UTC
-
NCrunch cannot build .NET Standard 2.0 projects
Hi, thanks for sharing these details. The error itself seems to be caused by the build system being unable to resolve netstandard.dll, which is usually situated in either the Nuget package cache on the machine or one of the various SDK directories. Again, I cannot reproduce this problem on my …
24 Nov 2021 23:34 UTC
-
nCrunch fails building code containing languageext's newtype
[quote] No, I have no clue why the build fails and the solution is huge. [/quote] Unfortunately, to have any hope of resolving this problem, we'll need to have a copy of a project that produces it or the assembly produced by building it. I understand that given IP constraints, this is not usua…
23 Nov 2021 22:53 UTC
-
nCrunch fails building code containing languageext's newtype
Hi, thanks for sharing this issue. There's been a number of fixes in this area over previous years. The exceptions thrown here before the latest version of the product are from issues that have already been resolved. I haven't seen this before on v4.11 however. Would you mind submitting a bu…
22 Nov 2021 23:13 UTC