Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
IDE Performance Warnings in VS2019
Hi, thanks for posting! Could you submit a bug report straight after you've had this happen to you, detailing the number of seconds NCrunch was reported as stalling the IDE for? VS displays these messages when its internal system detects the IDE is unresponsive. It then examines the stack tra…
04 Sep 2020 01:05 UTC
-
Failed to resolve assembly: DurableTask
To make sure this isn't a dependency issue, could you try turning the 'Copy referenced assemblies to workspace' setting on for all the projects in your solution? Can you check whether the Microsoft.Azure.WebJobs.Extensions.DurableTask assembly is being stored in the same build output directory as…
29 Aug 2020 00:46 UTC
-
Failed to resolve assembly: DurableTask
Sadly that didn't trigger it on my end, but looking at that stack trace, I'm fairly certain this is a collocation issue. Does the setting resolve the problem?
27 Aug 2020 08:29 UTC
-
Missing local build output
Based on what you've described, I think this may be a race condition that appears sometimes when a project file is modified while the grid node is cranking at full speed. Probably it's trying to process a task against the project while the grid node is reloading it. This is almost certainly benign…
27 Aug 2020 01:05 UTC
-
.Net Core Proto builds
Hi, thanks for sharing this problem. The Protobuf build items are a custom type that NCrunch hasn't been programmed to auto detect. To resolve this problem, you'll need to include these files using the 'Additional files to include' setting so they are copied to the NCrunch workspace.
27 Aug 2020 00:58 UTC
-
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