Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Setting password in registry breaks automated NCrunch GridNode installation

    [quote=josh-grant;15466] * Ran the following: [code=powershell]sc create "NCrunch Grid Node Service" binPath= "C:\NCrunch Grid Node Server\NCrunch.GridNode.Service.exe" start= auto[/code] (FYI You might want to update the manual installation docs to use "sc.exe" instead of "sc" as I got set-conte…

  2. Setting password in registry breaks automated NCrunch GridNode installation

    I suspect this may be caused by a hung socket. We get these in our own dev environments, and they tend to be caused by how the O/S handles sockets left open by terminated processes. Basically, you can have a top-level .EXE (or service) that opens up a TCP listening socket on a specific port. Th…

  3. Setting password in registry breaks automated NCrunch GridNode installation

    Hi Josh, Thanks for posting. Can you share more detail about how you're obtaining the string value of the Password key that you're setting in the registry? Unless this is done in a manner that is identical to the Grid Node configuration tool, the encryption will be seeded differently on the gri…

  4. Cannot delete the filters

    Hi Dheeraj, In the filter builder, the drop-down menus that allow you to select the conditions have an option at the top called '<remove>'. If you select this option, it will remove the condition. Generally, I would recommend against build complex conditions that target tests by name. It wou…

  5. Assembly.GetEntryAssembly does not return proper path

    Hi Dheeraj, Assembly.GetEntryAssembly() will always return the location of the .EXE as executed by the operation system. In the context of a test runner, this will therefore return the location of the tool you are using to run the test. Some versions of VS Test may copy their runner EXEs to y…

  6. License auditing

    You'll need to start up Visual Studio on each machine, then open the NCrunch menu (usually under 'Extensions), then choose 'License Details'. I recommend copy/pasting the key if at all possible to avoid any issues with hand copying.

  7. License auditing

    Hi, thanks for posting. For privacy and security reasons, this isn't something we track centrally. If you're using a [url=https://www.ncrunch.net/documentation/tools_license-server_usage-and-installation]license server[/url] on-site, the server should be able to show you who is holding which key…

  8. Enable NCrunch is disabled

    Could you try the following to see if any of these resolves the issue? - Reinstall/repair .NET Framework 4.8 - Clear your Nuget package cache (i.e. C:\Users\Remco\.nuget) - Install any pending Windows Updates - Try installing and running the NCrunch console tool over your solution to see if it…

  9. Private support page does not work.

    [quote=playtime222;15446]Turning off instrumentation for the whole solution also works - but then that sort of removes the second primary function of NCrunch - the code coverage dots.[/quote] Yes, this will reliably solve the problem as the missing DLL then isn't needed. I also don't recommend d…

  10. Private support page does not work.

    Thanks for sending through the larger sample. The problem here is again caused by interoperability between PostSharp and NCrunch. In this situation, there is an aspect in one of your projects that triggers the creation of attribute constructor code which PostSharp executes during the build of su…

  11. NCrunch Build Failure of Unit Test Project

    Hi Sam, Thanks for submitting the bug report. It looks like the error is coming from MSFakes. Can you try removing and regenerating your fakes files for this solution? Sometimes they fall out of sync and strange things can happen.

  12. Private support page does not work.

    Thanks for sending this through. Could you quickly confirm for me if turning on the 'Copy referenced assemblies to workspace' setting for the projects involved makes any difference in regards to this error?

  13. Private support page does not work.

    Thanks for sending this through. I've managed to reproduce an instrumentation issue caused by Postsharp doing something that we weren't expecting. Could you try the build below and let me know if it solves the problem for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_…

  14. Enable NCrunch is disabled

    [quote=DomsRoberts;15435]I tried that but it made no difference. I now can't even kick start it by running the Engine host myself, it won't start at all.[/quote] Running the EngineHost EXE directly will start the process and it will immediately self-terminate. I suggested this as a way to try a…

  15. Private support page does not work.

    [quote=playtime222;15432] My zip file is approx 18Mb - could that be the issue? [/quote] The form does have a size limit of 20Mb, which I'll admit is on the low side given the size of many sample solutions. It's possible that something in the webserver is cutting that down further. If you lik…

  16. NCrunch Build Failure of Unit Test Project

    Hi Sam, I don't think the warning is related to the package resolution issue. Could you try the following for me? 1. Start NCrunch, let it run until you see the failure 2. Go to your NCrunch configuration for the project that is failing 3. Set 'Build log verbosity' to 'Detailed'. 4. Go t…

  17. Not initializing due to exception

    Does replacing the $(MSBuildProjectName) reference with $(AssemblyName) in the directory.build.props file make any difference? Usually replacing the OutputPath/OutDir properties shouldn't create a problem. Did you need to do this to solve a different error? The .editorconfig file won't be aut…

  18. NCrunch Build Failure of Unit Test Project

    Hi Sam, It's possible for a system to have multiple Nuget package roots. I don't think having the Xamarin path in the list should cause any problems. I think something critical is malfunctioning in your build system. Try right-clicking on the failed project in the NCrunch Tests Window, then …

  19. NCrunch Build Failure of Unit Test Project

    Hi Sam, Thanks for sharing this issue. The .NET assembly resolution is an extremely complex monster with a wide range of environmental components that can cause assembly resolution to behave differently between machines, even when the same source code is involved. Obtaining a full understan…

  20. Not initializing due to exception

    Thanks for sharing the extra details. I see now where the compatibility hole is. We aren't able to properly handle an overridden BaseIntermediateOutputPath in a directory.props file using $(MSBuildProjectName). This is due to technical limitations with the way that MSBuild works and how we need…