Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
T4 Template generation fails in 3.18
[quote=smitchamb;12529]I downgraded and it is still happening, so i must be something in the project related to the code analysis stuff.[/quote] It's not clear to me here what the difference is that causes this to happen in your NCrunch environment and not in others. But resolving the problem sh…
14 Aug 2018 01:01 UTC
-
'System.Xaml.XamlObjectWriterException' When using Microsoft Workflow Foundation
I'm impressed you managed to figure this out from such an obscure error message. It's true that the NCrunch build system defaults to x86. This is due to historical reasons (MSBuild used to only run under x86, and weird things would happen otherwise). I guess there is here a build task that does n…
13 Aug 2018 09:16 UTC
-
NCrunch using incorrect dependency version
Could you try enabling the [url=https://www.ncrunch.net/documentation/reference_project-configuration_preload-assembly-references]preload assembly references[/url] setting for the test project? Hopefully this will resolve the inconsistency, so at least we see the same version of the binary loaded f…
11 Aug 2018 01:23 UTC
-
Upgraded Web Project Not Building
[quote=simongh;12520] There was also a <Target Name="AfterBuild"> <RemoveDir Directories="$(BaseIntermediateOutputPath)" /> That was removing the nuget files and breaking the build[/quote] I think that this would have been the #1 issue here, as it would have caused some very inconsi…
11 Aug 2018 01:20 UTC
-
T4 Template generation fails in 3.18
Hi, thanks for sharing this issue. I can't think of any changes in v3.18 that could be directly responsible for this issue. But the error itself is interesting. The TextTemplating build task under the directory mentioned above seems to have a dependency on Microsoft.CodeAnalysis v2.8, but the f…
11 Aug 2018 01:13 UTC
-
'System.Xaml.XamlObjectWriterException' When using Microsoft Workflow Foundation
Hi, thanks for sharing this issue. Does turning on [url=https://www.ncrunch.net/documentation/troubleshooting_compatibility-mode]compatibility mode[/url] for this solution make any difference here? I'm particularly interested in whether the 'Copy referenced assemblies to workspace' setting has any…
10 Aug 2018 23:31 UTC
-
System.InvalidProgramException on x64 Testproject
Hi Dan, Thanks for sharing this problem. I think this issue is environment specific. The problem doesn't appear on my own machine. Has NCrunch ever worked in your environment? Are you running any third party tools that perform IL manipulation, such as JustMock or TypeMock?
10 Aug 2018 23:27 UTC
-
.NET Core 2.0 Support with re-located build folder
Sorry, I was wrong. It's not related to .NET Core 2.1. This looks to be a continuation of the same problem. There is just too much implicit MSBuild behaviour around the name of the project file itself for us to be able to handle this use case. The abstractions in place just don't give us enough …
10 Aug 2018 07:54 UTC
-
.NET Core 2.0 Support with re-located build folder
Thanks for sending through the bug report and the link to the sample project. I've immediately managed to reproduce the issue over here and I'm looking into the problem. I think this may be related to the move to .NET Core 2.1 rather than your build customisations. I'll let you know when I have m…
10 Aug 2018 07:26 UTC
-
NCrunch using incorrect dependency version
Hi Ben, Thanks for sharing this issue. Does adding a reference to this Nuget package directly from your test project resolve the issue?
10 Aug 2018 05:15 UTC
-
.NET Core 2.0 Support with re-located build folder
Hi Rob, I'm glad you picked up on this one :) This change was triggered by your support request. I've created a short evaluation license and placed this [url=https://www.ncrunch.net/user/mylicenses]on your account on this website[/url], if you'd like to give the new build a try.
10 Aug 2018 05:13 UTC
-
PostSharp causes build error
I recommend having a read up on how NCrunch uses its workspaces and how to best control them: [url=https://www.ncrunch.net/documentation/concepts_workspaces]Workspaces[/url] [url=https://www.ncrunch.net/documentation/considerations-and-constraints_implicit-file-dependencies]Implicit file depende…
07 Aug 2018 23:30 UTC
-
PostSharp causes build error
Hi, thanks for sharing this issue. Does adding your entire packages directory to your 'Additional files to include' setting make any difference here? From what I can establish by googling around, it seems that this build target is trying to find the DLL using a relative file path, which suggests…
07 Aug 2018 23:10 UTC
-
IpcConnectionClosedException after upgrade to .netcore 2.1
I'm glad you managed to get this working. The 'Sdk' declared in the project element is an indicator to the build system of which set of build targets should be used when building the project. Changing it to a 'web' project will use the set of web targets instead of the standard ones, which somehow…
07 Aug 2018 22:41 UTC
-
NCrunch incorrectly reporting tests as having the same name
Hi Bart, Thanks for sharing this issue. I've reproduced it as described. We're talking about this internally and will get back to you soon.
07 Aug 2018 00:30 UTC
-
IpcConnectionClosedException after upgrade to .netcore 2.1
Thanks for sharing these error details. I haven't seen this one before. Are you making use of this package yourself? Does adding it as a Nuget dependency to your test project make any difference?
07 Aug 2018 00:25 UTC
-
NCrunch exception when building .net core xunit project
Thanks for confirming that v3.18 works better in this area. There was a significant change introduced in v3.18 to try and address the platform dependency issues caused by NCrunch's own assemblies targeting earlier versions of .NET Core. I would hope that this change would render your primary issue…
07 Aug 2018 00:22 UTC
-
IpcConnectionClosedException after upgrade to .netcore 2.1
Hi, thanks for posting! This is probably a dependency issue. Sometimes if the required nuget packages aren't installed on your system, NCrunch can fail to start the .NET Core process for hosting your test environment. You might be able to find some more error information in the logs if you turn…
06 Aug 2018 11:52 UTC
-
TeamCity distributed NCrunch is very slow
Hi, thanks for posting! [quote] As you can see ASKVISION has just started building when all the other Grid Nodes already has completed all tasks. Why is ASKVISION not stopped when everything else is completed? And why does each Grid Node build everything and not only the parts dependend from the…
06 Aug 2018 07:33 UTC
-
Code coverage issue for XUnit
Hi, thanks for sharing these details. This is behaviour as designed, because the code inside the GoodLocationsKeyValueData method isn't actually part of any test. Mechanically, this code is being treated as an extension of the test framework itself. It's meta code used to 'discover' the tests. …
04 Aug 2018 23:35 UTC