Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
IndexOutOfRangeException in CilReusableCopiedInstructionMap
Hi Alex, Thanks for sharing this. Can you confirm which version of NCrunch you're running?
28 Mar 2022 08:17 UTC
-
IpcConnectionClosedException unable to find Ben.Demystifier
[quote=lukesch;16042]While I investigate that, let me ask a different question. Is there a way for ncrunch to detect this is a netsdk/netcore style test project and automatically turn this 'Copy referenced assemblies to workspace' setting on?[/quote] In the current build of NCrunch, there is no c…
22 Mar 2022 22:32 UTC
-
IpcConnectionClosedException unable to find Ben.Demystifier
[quote=lukesch;16038]It looks like Ben.Demystifier is used by [url=https://www.nuget.org/packages/Microsoft.VisualStudio.Services.InteractiveClient/]Microsoft.VisualStudio.Services.InteractiveClient[/url]. What can I do with this information?[/quote] Most likely, very little. We can try and dig …
22 Mar 2022 06:56 UTC
-
IpcConnectionClosedException unable to find Ben.Demystifier
Hi, thanks for sharing this issue. The package in question (Ben.Demystifier) is not used by NCrunch. My suspicion is that this package is a dependency of one of the other packages or projects referenced by your project, and that for a reason I presently can't identify, the runtime expects it to …
21 Mar 2022 19:57 UTC
-
Unable to connect to the specified license server | NCrunch 4.11, VS 2022, Windows 11
[quote=GlobalConcepts;16032] Edit: It seems like that SSL Cerfiticate of our License Server is not trusted by my machine. VS 2019 does ignore this issue but VS 2022 does not.[/quote] This is interesting. The HTTP(S) request from the license server client in VS will be using whatever version of …
18 Mar 2022 23:30 UTC
-
grpc
Hi Dirk, Thanks for posting. This would be because the build item 'ProtoBuf' is a custom build item that isn't in NCrunch's auto inclusion list. You should be able to solve this by adding the .proto files to NCrunch's [url=https://www.ncrunch.net/documentation/reference_project-configuratio…
13 Mar 2022 23:17 UTC
-
NCrunch and AppDomains
Hi, thanks for posting. Under .NET Framework, the NCrunch task runner builds its own application domain inside the test process and uses this to execute the test and underlying code. The appdomain is tied to the lifespan of the test process. Under .NET Core and .NET 5+, NCrunch does not build…
11 Mar 2022 10:58 UTC
-
NCrunch stops working after switching branches and cherry-picking commits one too many times
Hi, thanks for posting. This is a [url=https://forum.ncrunch.net/yaf_postst3205_Stuck-at--ncrunch-engine-is-initialising.aspx]known problem with the preview build[/url] of VS2022. You'll need to switch to the non-preview version of VS2022 until MS fix an internal problem or we implement a workar…
10 Mar 2022 23:26 UTC
-
Directory.build.props - Add a link to certain projects fails
[quote=UppSol;16023] Another question: is it possible to add a project reference via directory.build.props when using NCrunch, or isn't it supported at all? [/quote] Unfortunately we can't support project references inside directory.build.props. This is because the file is outside the scope of…
04 Mar 2022 23:24 UTC
-
Directory.build.props - Add a link to certain projects fails
Hi, thanks for sharing this issue. NCrunch has some limitations in what it can handle in the Directory.build.props file. Notably, when it loads your project, it does so under a different project name (i.e. _nCrunchTemp_....). This means that certain MSBuild properties (such as $(MSBuildProjectF…
01 Mar 2022 23:36 UTC
-
Reporting tests run via reflection individually.
Hi Steve, Thanks for posting! You probably want to look into using NUnit's TestCaseSource attribute for this one. It lets you generate tests based on user code. MSTest and xunit also have their own equivalents which work in similar ways. NCrunch does support this (it took much pain to make it…
26 Feb 2022 23:17 UTC
-
dotnet 5 tests and error messge
[quote=ewinhong;16010]Downloading 4.11 made it worked. I am slowly reducing my use of ncrunch due to the memory usage. Hope this doesnt break for dotnet 6 when it comes out and if creating a new dotnet 6 project.[/quote] Great to hear you are up and running again. We already support .NET 6.0…
22 Feb 2022 22:46 UTC
-
System.IO.PathTooLongException
Hi, This can happen if you have a solution with very long paths in it. Try setting your [url=https://www.ncrunch.net/documentation/reference_global-configuration_workspace-base-path]workspace base path[/url] to be closer to the root of your disk.
22 Feb 2022 22:45 UTC
-
dotnet 5 tests and error messge
Thanks for sending this through. It looks like your NCrunch is quite out of date. Could you please update to 4.11 and let me know if the problem persists?
22 Feb 2022 04:19 UTC
-
NCrunch Warnings about copying assemblies to build output directory
[quote=jepthy;16005]That makes a lot of sense, thank you for the detailed explanation. Sounds like the best course of action would be to just ignore this warning then?[/quote] Yes, just ignore it :)
21 Feb 2022 22:57 UTC
-
Stuck at "ncrunch engine is initialising"
Hi, thanks for sharing this issue. I've successfully reproduced this problem under the new preview build of VS2022 (17.2.0 preview 1). The issue appears intermittently, so sometimes it works and sometimes it doesn't. The cause appears to be a change made to the threading model in the VS proje…
21 Feb 2022 08:26 UTC
-
NCrunch Warnings about copying assemblies to build output directory
Hi, thanks for sharing this. The more detailed explanation to this is rooted within the architecture of the .NET platform and certain design decisions that have been made within NCrunch. The name of the configuration setting involved ('Copy referenced assemblies to workspace') is actually not id…
19 Feb 2022 00:03 UTC
-
dotnet 5 tests and error messge
Hi, thanks for sharing this. Could you submit an NCrunch bug report right after you've had this happen to you? I'm hoping the log may reveal more about this error.
15 Feb 2022 23:23 UTC
-
Inclusively/Exclusively uses attribute
This seems like quite a bit of micromanagement of concurrent execution. The intention of NCrunch is to try and to away with much of the micromanagement. Is there a reason tests with clashing flags can't be run together? Do they make use of an external dependency of some kind? (i.e. network socket…
11 Feb 2022 23:12 UTC
-
Inclusively/Exclusively uses attribute
I can't think of a way to achieve such a setup with NCrunch right now. Can you tell me a bit more about why you need to have such a structure? Perhaps I can suggest an alternative approach.
10 Feb 2022 22:50 UTC