Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Use of classes that derive from UserControl.

    Hi Sergo, Thanks for sharing this problem. The main issue here is that with the test class descending from a UserControl, the code within the UserControl class (probably the constructor) is being executed during test discovery. I'm not sure what exactly happens inside this code, but it probab…

  2. Issues copying a file during test

    Great stuff! Something I'll warn you about with the NCrunchEnvironment.GetOriginalSolutionPath is that this will break NCrunch's workspace isolation .. if you're using this to access TestWorkflow.V1.dll then you might end up with file locking issues between VS/NCrunch and you probably won't see cod…

  3. Issues copying a file during test

    Ok - it looks like the referenced assembly is being built from another project in your solution, so the 'Additional files to include' isn't the way to solve this. The problem is that you're needing to reference an assembly that is built by NCrunch, and is sitting in one of its workspaces. You ne…

  4. An item with the same key has already been added

    Excellent! I'm glad this did the trick. Thanks for the feedback :)

  5. An item with the same key has already been added

    Sorry, this was my mistake. I forgot to make the links public. Try again now.

  6. An item with the same key has already been added

    Hi Adam, Give this build a try and let me know how it goes: [url=http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.6.0.12.msi]http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.6.0.12.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.6.0.12.zip]http://downloads.ncrun…

  7. Issues copying a file during test

    Hi, thanks for posting! Because NCrunch sandboxes each project in a separate dynamically assigned location, there won't be a single path that you can use to reference this assembly if it exists as a project within your solution. If it is merely a referenced assembly (and not a project), the be…

  8. Register for COM interop failed to build

    Hi Gaetan, Thanks for sharing this issue. Does setting NCrunch in [url=http://www.ncrunch.net/documentation/troubleshooting_compatibility-mode]compatibility mode[/url] make any difference in regards to this issue? Cheers, Remco

  9. An item with the same key has already been added

    Thanks Adam. Unfortunately the log didn't show which reference was the direct cause of the problem, but I think this is an issue best solved by making NCrunch more resilient to this kind of build behaviour. I'd like to provide you with a fixed build. If all goes well, hopefully I can get this t…

  10. NCrunch, MSTest & categories

    Thanks for sending through the sample solution. I've had a bit of a play with this, but I can't seem to make it behave incorrectly. I'm wondering if there may be some kind of system related variable here, or if perhaps the behaviour of NCrunch is different from what you're expecting. Can you …

  11. Force NCrunch to Output to Standard Console

    Hi, thanks for coming back to this one. This feature hasn't been implemented yet, but you're welcome to vote for it in on uservoice if you like - [dead link].

  12. An item with the same key has already been added

    Hi Adam, Thanks for reporting this issue. It looks like the NCrunch build is reporting some kind of reference duplication in its output. Probably this is related to a library or toolset used by some of your projects. Would you be able to submit a bug report straight after NCrunch has tried t…

  13. NCrunch, MSTest & categories

    Hi, thanks for sharing this issue. Unfortunately I haven't been able to reproduce the problem here. When I created a test project along the specifications you've provided above, then enabled NCrunch, the integration test was not run automatically while the custom engine mode was selected. Can…

  14. Missing SDK With Grid Build

    Excellent! Thanks!

  15. Disable NCrunch while updating nuget packages

    It's important that NCrunch keeps itself up to date with the changes in your solution, so I'm assuming you mean that you want NCrunch to only run builds and tests after the package update has completed? The tricky thing here is that at present, I don't know of any way for NCrunch to be aware that…

  16. Missing SDK With Grid Build

    Hi, I've done a bit of a deep dive on this issue to try and figure it out. I haven't yet had any luck in piecing things together in a way that will let me reproduce the problem, but I have found a number of things around the path translation for this file that clearly were not right. I've p…

  17. Missing SDK With Grid Build

    Not really. This particular DLL file is 'magic' in the sense that NCrunch tries to copy it over to the node, whereas with other GAC references it will simply inform you that the file is missing and expect you to solve the problem yourself. The idea behind this is that the file is effectively sel…

  18. Missing SDK With Grid Build

    Thanks. I'll need to have a closer look at the log files to see if I can now reproduce the issue. I'll get back to you soon.

  19. Missing SDK With Grid Build

    Yes! That is VERY relevant. Would you be able to send me this log file? Also, I'm just wondering if you can confirm something ... If you clear out all the snapshots on the grid node (while the service is stopped), then get the client to connect and resynchronise, does everything work corre…

  20. Missing SDK With Grid Build

    Interesting ... That's a useful piece of information. Is your solution being opened from C drive? Or from another drive on your system? You'll need to turn on logging on the grid node first. This can be done using the node configuration tool. Make sure you set the Log Verbosity to 'Detailed'. …