Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Failed to resolve assembly: DurableTask
Hi, thanks for sharing this issue. I've had a go at reproducing it, but it seems to be dependent on code within the project in addition to the Nuget packages. Have you tried enabling the 'Copy referenced assemblies to workspace' setting for this project? It appears as though the build task is…
27 Aug 2020 00:56 UTC
-
Missing local build output
Hi, thanks for sharing this problem. This is likely going to be a tough one to track down. When the error appears, does the system eventually rebuild the project and just carry on as usual? Do you notice any pattern around the kind of changes you are making when the error appears? NCrunch …
26 Aug 2020 00:34 UTC
-
Grid is not always running all tests on team city
[quote=samholder;14933] What is the default engine mode if not specified on the command line?[/quote] Normally, this would be 'Run all tests automatically, others manually', but actually this depends on the configuration in place at all levels. In short, it's not safe to assume this. Better to…
19 Aug 2020 00:33 UTC
-
Grid is not always running all tests on team city
Looks like it's isolated to the TC reporter. We recently added a new command line setting to filter the tests that are reported to TC ... I wonder if it might be causing problems. Could you try adding the following parameter to your NCrunch.exe call to see if it makes any difference? /TeamCit…
18 Aug 2020 00:14 UTC
-
Generated csproj is missing assembly reference
Can you try setting the NUGET_PACKAGES environment variable on your machine to a different path to see if this makes any difference? (You'll need to restart VS before this will take effect).
16 Aug 2020 13:34 UTC
-
Generated csproj is missing assembly reference
I'm sorry, but I cannot think of a way to allow you to resolve this problem without changing your build system. NCrunch sits on top of a very complex platform consisting of layers of interaction between Nuget and MSBuild. In broad terms, a reference to an assembly is either done via Nuget or it'…
16 Aug 2020 03:51 UTC
-
Generated csproj is missing assembly reference
Hi, thanks for sharing this problem. Generally, it's recommended to avoid absolute file path references like this one as it can cause problems with some things, like grid processing. However, I've tried testing this with a simple scenario in which the assembly is stored on a different disk to …
16 Aug 2020 00:14 UTC
-
Grid is not always running all tests on team city
Hi Sam, Thanks for sharing this problem. The first thing that crosses my mind here is to check the Capabilities involved. If you're using these, then the tests executed in the run can be limited only to the nodes that the tool is able to connect to. The next thing to check is the NCrunch HT…
14 Aug 2020 00:13 UTC
-
NCrunch fails to build a project with NSwag build target
Hi, thanks for sharing this issue. The problem here is that the command line call to NSwag is causing runtime code within user assemblies to be executed at build time. There is no way we will feasibly get such a structure to run reliably under NCrunch. To work around this, you need to disable…
09 Aug 2020 04:06 UTC
-
Ignore NuGet packages
[quote=Argamon;14914] So I would expect that when NCrunch builds, the property XmlDoc2CmdletDocCommand is first set when the csproj is read, then the NuGet packages target file is read and everything is back to the normal value.[/quote] Yes. Sadly this was much simpler under the old .NET Fram…
07 Aug 2020 10:19 UTC
-
Ignore NuGet packages
Hi thanks for sharing this issue. Ideally, we would want to be able to suppress the package reference in the manner that you have. In practice, this unfortunately doesn't work because the package reference is also declared in the derived files created by the Nuget package restore (i.e. project.a…
07 Aug 2020 00:45 UTC
-
Load & build error
Excellent, thanks for confirming!
07 Aug 2020 00:33 UTC
-
Build error on project with React TSX
Hi, thanks for sharing this problem. I have no experience with this particular package and we haven't done any work to verify it can work with NCrunch. However, there may be a couple of options available to you. The first option is to try including the referenced files in your NCrunch workspa…
06 Aug 2020 07:42 UTC
-
Load & build error
Would you be interested in trying the build below? I've made an improvement to the error handling in this area. When NCrunch encounters a file with unknown encoding, it will now report the error in a consistent manner including the name of the file involved. You should be able to use this build t…
06 Aug 2020 01:49 UTC
-
Load & build error
Hi Wilhelm, Thanks for sharing this issue. This looks like it originates from a VS integration issue. VS is not reporting these specific projects internally to NCrunch, so NCrunch can't find them. Can you check if you are running the same version of VS on your new machine? You may need to…
04 Aug 2020 23:52 UTC
-
Unable to make NCrunch build anything with optimized code and without debugging symbols
Hi, thanks for posting. When building the project, NCrunch always sets Optimize=false and DebugType=full (or DebugType=portable) to force the build system to compile the assembly in debug mode. This is done because many of the downstream features (i.e. code coverage, instrumentation, etc) rely o…
04 Aug 2020 23:50 UTC
-
Nuget restore failing for grid server
[quote=NeilMacMullen;14897] Anyway, as you say, copying the Nunit package into the "standard" cache manually appears to resolve it so everything is working nicely now - thanks again. :-) [/quote] Great to hear you are up and running. I'm not sure exactly what is happening here .. I suspe…
31 Jul 2020 08:31 UTC
-
Nuget restore failing for grid server
Hi, thanks for sharing this issue. Usually, NCrunch should copy missing Nuget packages over from the client to the grid node. Because we can't rely on the node having a reliable connection to Nuget, we don't attempt to restore the packages directly. Normally, the packages are stored under the…
29 Jul 2020 23:33 UTC
-
System.ArgumentOutOfRangeException: Arrays larger than 2GB are not supported.
Thanks for sending through the files and for the additional information. Unexpectedly, when I put the files through the instrumentor on this side, they worked correctly without any problems. From what I can establish, it looks to me like the PDB file is being corrupted somehow prior to NCrunch b…
23 Jul 2020 00:42 UTC
-
System.ArgumentOutOfRangeException: Arrays larger than 2GB are not supported.
[quote=LatinProgrammer;14888] I used the contact form to attempt to send you my files. I'm not sure if this worked because the two times I tried I get a 404 after submitting (perhaps the "success" page does not exist?). [/quote] Sorry about this. The submission form has a file size limit, and…
22 Jul 2020 00:02 UTC