Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Installer should warn about expired license

    Sorry about this. This feature has just been introduced in 2.15 - [url=http://www.ncrunch.net/download/showChangeLog?version=2.15]http://www.ncrunch.net/download/showChangeLog?version=2.15[/url]. So for your next upgrade, you will see this behaviour.

  2. Entity Framework metadata problem using console tool

    Hi Patrick, That is of great interest. Does NCrunch give you any warnings about missing SDKs or build targets on the grid node? My first guess here would be that this behaviour requires an SDK to be installed on the machine, which may not exist on the grid node.

  3. npgsql upsets ncrunch

    Hi, This warning is NCrunch telling you about something that is wrong with the dependency structure in your solution. It isn't necessarily an NCrunch problem - it can mess up many things in your build. There's a good chance that NCrunch will continue to work without obvious problems, though you…

  4. Target "_SplitProjectReferencesByFileExistence" cannot be found in customized projects.

    Taking another look at the error, it seems that the error is being thrown at load time rather than build time. This means that NCrunch is basically just trying to open the project in its original location using the MSBuild API. I've taken a look at the source code you've linked to. Unfortunatel…

  5. Code Coverage is only collected for the last test case run with [TestCaseSource]

    [quote=yworksjr;7283]Ok, solved it. This had to do with my test method taking an object as argument that didn't have a ToString(). Also every test had a description, but not a name. Thus every test had the same name as far as NUnit was concerned, which probably led to this problem. ReSharper coul…

  6. Target "_SplitProjectReferencesByFileExistence" cannot be found in customized projects.

    Something also worth trying is to swap out the $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), wix.proj))\tools\WixBuild.targets") expression with a simple relative path just to see if this is the cause of the problem. Does this make any difference?

  7. Entity Framework metadata problem using console tool

    Hi Patrick, Is it possible that the DBModel.dll is included in the GAC on the client machine, or somehow being referenced in a global manner? (i.e. by absolute path) If so, this would cause problems for finding the file on the grid node. Would you be able to inspect the workspace created on t…

  8. Target "_SplitProjectReferencesByFileExistence" cannot be found in customized projects.

    Ok - this information really helps .. and I think that this problem may well be caused simply by NCrunch's inability to resolve your custom .targets files. There are some known issues with parsing using expressions such as $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), wix.pro…

  9. Target "_SplitProjectReferencesByFileExistence" cannot be found in customized projects.

    Hi, I wish I had a quick and simple solution to this, but in truth it depends entirely on what you are trying to achieve, and whether it is actually possible to achieve it using NCrunch. NCrunch was designed and tested against specific project types as derived from VS project templates, such a…

  10. .ncrunchconfig

    Hi Kristian, Thanks for sharing this. Your understanding of how NCrunch uses configuration is correct - it makes a copy of the config file and manipulates it so as to introduce binding redirections allowing it to exert tighter control over the test environment. This means that the application d…

  11. User not authenticated running integration tests

    [quote=Lee Rothman;7274]Hi, Thanks for the response. I don't think so, even if I run one of the failing tests in isolation it still passes with the VS test runner, but fails in ncrunch. [/quote] Ok, sorry, that's a very different story then. Which test framework are you using? Is it MSTest…

  12. Visual Markers missing with Visual Studio 2015 RC

    This issue has now been identified. It will be fixed in a build of NCrunch due out next week - [url=http://forum.ncrunch.net/yaf_postsm7270_VS2015-RC-No-Markers.aspx#post7270]http://forum.ncrunch.net/yaf_postsm7270_VS2015-RC-No-Markers.aspx#post7270[/url].

  13. VS2015 RC No Markers

    Thanks for all this information. With the details you've given me, I've been able to reproduce the problem. It seems that Microsoft have introduced a change to the PDB file format to include additional metadata for edit and continue. NCrunch doesn't know what to do with it, so it just drops all d…

  14. Visual Markers missing with Visual Studio 2015 RC

    Hi, thanks for sharing this issue. I'm unable to recreate it with a fresh VM install of VS2015 RC with both the enterprise and community editions. Would you be able to share some more details about this problem? I'm hoping there is something critical that I'm missing from my environment that …

  15. VS2015 RC No Markers

    Hi, thanks for sharing this issue. I'm unable to recreate it with a fresh VM install of VS2015 RC with both the enterprise and community editions. Would you be able to share some more details about this problem? I'm hoping there is something critical that I'm missing from my environment that …

  16. xUnit Test Collections

    Hi, thanks for sharing this issue. For NCrunch to be able to maintain a mutable pipeline of tests to execute, it breaks up the list of tests into batches and calls into the test runner many times. You'll be able to see this behaviour if you examine the list of tests inside the Processing Queue W…

  17. User not authenticated running integration tests

    Hi Lee, Thanks for sharing this issue. Is it possible that the test itself isn't performing authentication, and it's relying on a previously executed test to set this state? Note that NCrunch can run tests in any order, which means that sequence dependent tests can fail under NCrunch where th…

  18. F# and No tests covering this line

    Hi, thanks for sharing this. This is an interesting problem. The reason NCrunch considers the 'type PrimePair' line to be code is because the FSharp compiler generates a number of methods for this type behind the scenes, and binds these methods into the assembly's debugging data. What is part…

  19. How to enable NuGet Package Restore with NCrunch?

    [quote=tjahn;7254]Thank you for the quick reply! I was not aware of the fact that NCrunch indeed uses the local NuGet Package Repository directory if it contains the necessary assemblies (which Visual Studio ensures on first build). [/quote] There are sometimes situations where NCrunch can't cor…

  20. How to enable NuGet Package Restore with NCrunch?

    Hi, NCrunch doesn't function well with Nuget package restore (command-line, MSBuild or otherwise), as it needs to build new workspaces regularly to be able to build and run tests in parallel. Since these workspaces are effectively clones of your source project, newly creating them simply means t…