Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
IndexOutOfRangeException in CilReusableCopiedInstructionMap
[quote=alexander_jesner;16055]Remco, I managed to find out that in some situations PostSharp seems to create portable PDBs that are malformatted. I have posted an issue to their bug tracker and will get back to you as soon as I know more.[/quote] Awesome stuff! Would you mind posting the link to…
30 Mar 2022 23:17 UTC
-
Changing expired personal license to company seat license
[quote=GreenMoose;16054] I have a related question, with above you are saying that a personal license must not be reimbursed by the company, even though the license is tied to that particular developer, right? [/quote] Correct. If a license could be purchased by an individual, then reimbursed …
30 Mar 2022 22:49 UTC
-
IndexOutOfRangeException in CilReusableCopiedInstructionMap
[quote=alexander_jesner;16051]I did not yet manage to create a standalone reproduction of the problem, but I can share the information that changing the PDB type from "portable" to "full" seems to resolve the issue. Although we want to have primary portable PDBs, I will have a look if we can tempor…
29 Mar 2022 06:59 UTC
-
IndexOutOfRangeException in CilReusableCopiedInstructionMap
[quote=alexander_jesner;16049] We do use PostSharp, but neither this method, nor its enclosing class, nor referenced types XX1, XX2, and XX3 are enhanced by PostSharp, that's why I did not mention it before. I will try to create a complete repro that I can actually send you. [/quote] Although …
28 Mar 2022 11:29 UTC
-
IndexOutOfRangeException in CilReusableCopiedInstructionMap
[quote=alexander_jesner;16047]Sorry I forgot. It's the latest 4.11.0.2. Maybe also an important information is that this error mostly happens on grid nodes.[/quote] Thanks! I've taken good look at this stack trace and the code involved. I agree that this looks like a new CIL instruction sequ…
28 Mar 2022 08:51 UTC
-
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