Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. 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?

  2. 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…

  3. 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…

  4. 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…

  5. .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…

  6. 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…

  7. 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].

  8. 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…

  9. 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 …

  10. 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 …

  11. 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…

  12. 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…

  13. 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…

  14. 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…

  15. 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…

  16. Using unloaded project information

    Hi, NCrunch will only load projects that are either: A. Loaded inside the IDE .. or .. B. Referenced by projects that are loaded inside the IDE This means that if you unload whole dependency chains of projects, you can reduce the number of projects that NCrunch will load or consider a…

  17. NCrunch Does Not Copy Files Marked "Copy Always"

    Hi, thanks for sharing this issue. NCrunch doesn't contain any code to deliberately disable the copying of resource files to the build output directory within a project. This logic is built into MSBuild and it isn't overridden. However, there are limitations around the copying of resources file…

  18. NCrunch not loading on VS 2015 CTP 6

    Right. The /rootsuffix option basically forces VS to run with a different registry root. In many ways, it's basically like wiping out the entire VS configuration set and starting from scratch in a sandbox session. As this resolves the problem temporarily, it seems that your VS registry data has b…

  19. NCrunch not loading on VS 2015 CTP 6

    Try the following command: "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe /rootsuffix test" Again, make sure you run this as an administrator.

  20. NCrunch not loading on VS 2015 CTP 6

    Ok - the next thing to check is if the menu option has just been hidden somehow. Can you check through the customization menu to see if there is a menu command for NCrunch? Also - it's worth checking through the keyboard options to see if any NCrunch shortcuts are listed. This is useful infor…