Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Upgraded VS 2022 to 17.12.1 (.Net 9 support) and nCrunch now failing
Hi, thanks for sharing this issue. Could you check if the [url=https://forum.ncrunch.net/yaf_postst3525_Unable-to-build-apps-with--older--Windows-SDK.aspx]build published here[/url] resolves this issue for you?
28 Nov 2024 12:19 UTC
-
Unable to build apps with "older" Windows SDK
Thanks for the repro. I've managed to reproduce the issue as you've described it. The cause of the problem is a change in the platform that is causing NCrunch to get the runtimeconfig.json file wrong for the test environment. Would you be interested in trying the build below to see if this solv…
25 Nov 2024 03:50 UTC
-
Using EnableRdi(false) attribute results in NullReferenceException from LogStateMachineCompletion
Would you be interested in trying the build below? It contains a stability fix for RDI under Rider. I'm hoping it might improve things around opening the scopes in your solution. [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_5.12.0.2.msi]NCrunch_Console_5.12.0.2.msi[/url] …
23 Nov 2024 11:26 UTC
-
Rider window "view mode" issues
Thanks for sharing these issues. To give some context, our tool windows in Rider work very differently to the VS ones. They are basically a thin layer over a JetBrains component that pipes the UI into a background process, so our UI in the tool windows isn't actually properly integrated in the R…
22 Nov 2024 22:58 UTC
-
Using EnableRdi(false) attribute results in NullReferenceException from LogStateMachineCompletion
[quote=Magnus Lidbom;17760]Two bugs submitted so far :) [/quote] Thanks :) [quote] What are your feelings on this, do you prefer I avoid submitting what might be duplicate problems, or do you like getting a lot of these so that you have a lot of data to work with? Is there any way to track…
22 Nov 2024 22:52 UTC
-
No supported projects detected after NCrunch update
[quote=ron_vc;17761] Where can I file a bug report?[/quote] Under the 'NCrunch' menu when you have your IDE open, there should be an option for 'Submit bug report'. Make sure to send the report after you've hit the point of failure, as this way the log should include the most useful information…
22 Nov 2024 22:48 UTC
-
Unable to build apps with "older" Windows SDK
Could you also check nCrunch.TaskRunner.DotNetCore.20.x64.runtimeconfig.json? Note that the x86 version of dotnet is a whole separate thing to x64. It's installed in a different path, and has its own SDKs. Sometimes tooling can get confused between the two instances and it won't find the SDKs t…
22 Nov 2024 02:05 UTC
-
Unable to build apps with "older" Windows SDK
Check the contents of the .runtimeconfig.json file that is adjacent to the DLL of the test project (or console project). This contains the version of the platform that should be targeted by the loader. Maybe something is going wrong in how that version is specified. Random thought: x64/x86 issu…
21 Nov 2024 23:28 UTC
-
No supported projects detected after NCrunch update
Thanks for sharing this issue. Can you check whether changing your [url=https://www.ncrunch.net/documentation/reference_project-configuration_build-sdk]Build SDK[/url] setting has any effect on this problem? If the above doesn't solve it, would you mind submitting a bug report after you've open …
21 Nov 2024 23:17 UTC
-
Using EnableRdi(false) attribute results in NullReferenceException from LogStateMachineCompletion
Thanks for sharing this. Can you confirm how easy it is to reproduce these problems? It feels to me like they're down to race conditions between the RDI UI in Rider and the engine, which can be tough to track down. The more specific information you can feed me, the more likely I'll be able to iso…
21 Nov 2024 23:14 UTC
-
Unable to build apps with "older" Windows SDK
Can you confirm whether you are able to build a .NET 10.0.17763.54 x64 console project .DLL and run this on your machine using dotnet.exe?
21 Nov 2024 22:59 UTC
-
Using EnableRdi(false) attribute results in NullReferenceException from LogStateMachineCompletion
[quote=Magnus Lidbom;17745] Problem SOLVED :D [/quote] Awesome :) [quote=Magnus Lidbom;17745] One last question Can I detect at runtime if RDI is enabled somehow? And the same question for instrumentation. I don't mind if it is ugly and hacky as long as it works. It's just going to be use…
21 Nov 2024 06:02 UTC
-
Using EnableRdi(false) attribute results in NullReferenceException from LogStateMachineCompletion
Ok, the new build is ready! I'm keen to hear if this solve the problem for you. [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_5.12.0.1.msi]NCrunch_Console_5.12.0.1.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_5.12.0.1.zip]NCrunch_Console_5.…
21 Nov 2024 04:29 UTC
-
Disabling RDI for a project doesn't restore performance, only disabling it for the solution does
[quote] That's a good suggestion, but I've done that already. No luck. There does not appear to be any notable hotspots. Just why it is so heavily impacted by RDI is not clear to me. Possibly it's just the plain amount of code that is executed and the fact that my code is very modular. Where many c…
21 Nov 2024 03:32 UTC
-
Disabling RDI for a project doesn't restore performance, only disabling it for the solution does
[quote] That sounds peculiar to me I must say. Disabling RDI completely for a complete project disables it less completely than disabling it for a single test? Does this mean that to get RDI "as disabled as possible" for a project I must add the attribute to every performance test individually? Is …
21 Nov 2024 03:11 UTC
-
Using EnableRdi(false) attribute results in NullReferenceException from LogStateMachineCompletion
[quote=Magnus Lidbom;17736] Very much interested :)[/quote] Excellent. I'm nursing one through our build system at the moment and will let you know when it's available.
21 Nov 2024 01:04 UTC
-
Using EnableRdi(false) attribute results in NullReferenceException from LogStateMachineCompletion
Thanks, I think I've isolated this issue. Would you be interested in trying out a new build with a fix included?
21 Nov 2024 00:42 UTC
-
Disabling RDI for a project doesn't restore performance, only disabling it for the solution does
[quote=Magnus Lidbom;17731] I don't understand. That sounds self-contradictory to me. How can it be disabled for the code in the test project but not for the tests in the test project? The tests are the code in the test project :) [/quote] Sorry, perhaps I should have been clearer. Tests cove…
21 Nov 2024 00:18 UTC
-
Using EnableRdi(false) attribute results in NullReferenceException from LogStateMachineCompletion
Thanks for these extra details. My current theory is that there is a thread running past the end of the main test execution and that it's getting into trouble with RDI collection while the async block winds down. Does the test contain any mechanisms to make sure that the threads have all complet…
21 Nov 2024 00:07 UTC
-
Unable to build apps with "older" Windows SDK
Hi, thanks for sharing this issue. The first thing I'd suggest checking here is whether the SDK installations on your machine are exactly the same as what you are targeting. VS has a LOT of implicit behaviour in resolving SDKs, and I've found many occasions in the past where it's quietly serve…
20 Nov 2024 23:47 UTC