Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. NCrunch cannot build dotnet 5 projects

    Hi, thanks for sharing this problem. This issue usually appears when the project is being pointed at an SDK installation path that is corrupt or doesn't exist. Could you check the installed SDKs inside "C:\Program Files\dotnet\sdk" to make sure they look to be intact? Sometimes we've seen issue…

  2. MSTest AssemblyInitialize

    Hi Alex, My apologies. I hadn't realised this was failing on the analysis step. The best option here would be to make sure that your build system copies the correct x86/x64 matching file directly into the bin\debug directory (not in a x86/x64 subdir) so that it is collocated with the build outp…

  3. TeamCity Timeline incorrectly sized for the window

    Hi, thanks for sharing this. Could I get a screenshot from you showing the issue? We designed the timeline around our own use case, which likely has some pretty different data to yours. I'd rather fix it so it looks good for everyone. You can submit a screenshot through the [url=https://www.nc…

  4. MSTest AssemblyInitialize

    Hi Alex, Thanks for posting. My first guess here is that this issue may be related to the logic being used to resolve the location of the required assembly. Are you using a relative path to find MyLibrary.x86.dll in your assembly resolve event? If so, the path may be different when working u…

  5. Click Configuration; VS2019 Crashes and Stops Working

    Hi Ed, Something is likely to be wrong with your tool window layout. Could you try removing the '.ncrunchsolution.user' file and '.vs' directory from your solution directory while the IDE is closed?

  6. "NCrunch was unable to resolve dependency data for its own assemblies under your chosen framework"

    [quote=rwv37;15765] Is there a known solution for this? If not, is there any further information I may be able to provide that might help troubleshoot it? Thanks.[/quote] Unless you're experiencing a downstream build issue here, there's nothing for you to worry about with this message. The warn…

  7. Using specific Output folder

    Hi, thanks for posting. One way I could think of solving this is to introduce an assembly reference to each of the required DLLs from the test projects being used by NCrunch that need to have them in the working directory. If you turn on the 'Copy referenced assemblies to workspace' setting for …

  8. Problems with Visual Studio 2022

    Could you try the build below and let me know if this solves the problem for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.11.0.1.msi]NCrunch_Console_4.11.0.1.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.11.0.1.zip]NCrunch_Console_4…

  9. Slow builds on Visual Studio 2022

    Could you try the build below and let me know if this solves the problem for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.11.0.1.msi]NCrunch_Console_4.11.0.1.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.11.0.1.zip]NCrunch_Console_4…

  10. Slow builds on Visual Studio 2022

    Thanks for sending through the log file. The problem looks to be here: [PID:26280 17:37:10.9448 LocalBuildTask-64] Process 352e108f22ab462ea5f5759a9c4cc54f with system Id 32748 has 126070784 bytes in use, checking against a configured memory limit of 125000000 [PID:26280 17:37:10.9448 LocalBuil…

  11. Problems with Visual Studio 2022

    Thanks for the extra detail here. Based on your description, I've successfully reproduced this problem and implemented a fix for it. The issue was caused by an oversight in how threading resources are managed when working in grid only mode. The build tasks were being starved of threads when tryin…

  12. v4.10.0.6: Grid servers do not build if Visual Studio Build Tools are installed only (+workaround)

    Thanks! We're aware of this issue and have a fix pending in the upcoming 4.11 build. We're just waiting to make sure we don't need to push anything else with it. Creating the directories does indeed permit a workaround for this problem.

  13. Slow builds on Visual Studio 2022

    I'm wondering if it might be possible to get more information about why the NCrunch build host is being recycled for your solution every 5 times the code is changed. I can't reproduce such an issue on my side, and this seems to be the central concern around the performance, as the first time MSBu…

  14. Problems with Visual Studio 2022

    Hi, thanks for sharing these issues. In the cases of 1 and 2, the changes for VS2022 haven't included any changes to these areas of NCrunch. I think there might have been a change in usage here that is surfacing something unexpected. Explicit tests will be run by NCrunch when they are specifi…

  15. Another IOException in Grid Node service

    Hi, thanks for sharing this issue. This does look like a file access problem. The first thing I'd try here is to clear out the Node's snapshot storage directory, then recreate it and make sure that the node service has access to it. It might also be worth to try running the node using NCrunch…

  16. Slow builds on Visual Studio 2022

    Thanks. I'm looking into this in detail and will update you when I have more information.

  17. Slow builds on Visual Studio 2022

    I've taken a quick look at the data immediately available to me. It looks like this is in the platform itself. Basically, the first time MSBuild is invoked for a process, it's doing something very expensive internally. When invoked from the command line, it doesn't do this, so maybe there's a s…

  18. Slow builds on Visual Studio 2022

    Hi, thanks for sharing this. I don't see this happen on my end. When a test is present and is run in response to changes made in the code, NCrunch will track and report performance details in the 'Execution Steps' tab in the Tests Window. There is a toolbar option allowing you to export the c…

  19. System.IO.IOException on GridNode

    [quote=alexander_jesner;15732] The only remark I have: on my Grid Nodes only the VS2019 Build Tools are installed, no VS2022 Preview and no .NET 6 Preview. The VS2022 Preview is only installed on my developer machine. Not sure if it makes a difference, but maybe you can draw some conclusions from …

  20. C# Project load failure in VS 2022 Previews 5 and 6

    Hi, thanks for posting. A fix for this problem was released with NCrunch v4.10, which was released within 48 hours of the VS2022 RC build. I recommend updating your NCrunch. If this doesn't solve the problem, please let me know.