Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Can I add my own clickable file paths to the test failure output?

    Hi Dylan, thanks for posting, and for liking NCrunch so much :) NCrunch internally replaces file paths with links when they point to files that are in the foreground solution (i.e. source files in your codebase). It actually doesn't matter what kind of source file they are, since we try to be as…

  2. Working with different TargetFrameworks

    Can you confirm for me what type of project this is? Is it just a standard .NET Framework class library? project.assets.json on the grid node should be more or less a copy from the client, so the targets in the file should be a match between the machines when going through the build system. D…

  3. Working with different TargetFrameworks

    Thanks. Is there anything here we need to address? Sorry I'm a bit confused about the current state of affairs and if there's anything that needs fixing here.

  4. Working with different TargetFrameworks

    [quote] Are there separate Grid Node Custom Build Properties to set? [/quote] The grid node operates the same way in this area as the client does. How is it failing on the node? [quote] It also does not work with TargetFramework set by Directory.Build.props (not a problem)[/quote] Yes,…

  5. Working with different TargetFrameworks

    Could you try setting 'TargetFrameworks' using the [url=https://www.ncrunch.net/documentation/reference_project-configuration_custom-build-properties]custom build properties[/url] setting and see if this works for you? This should be cleaner than adding conditions in the project itself and the NCru…

  6. Grid Node Server vs. NuGet Restore

    Ok, v5.7 is [url=https://www.ncrunch.net/download]now available[/url] and it contains the above change. I'm hopeful that this should solve the sync issues for you.

  7. Rider: Continuous Testing?

    [quote=Der-Albert.com;17350] The NCrunch UI seems a little alien in the Rider Context. Have more UI quirks ready, but will wait for the next release ;) #soon?[/quote] We have quite a lot of Rider fixes coming in the release next week. It might be best to wait until then before reporting lots of…

  8. Rider: Continuous Testing?

    Welcome back Albert! :)

  9. Grid Node Server vs. NuGet Restore

    I'm thinking there may be a way to just remove all the complexity from this situation. I'm looking to put back in the system with the hash comparisons, but instead of comparing hashes, it will simply count the number of files in the nuget package. If the package on the client has more files than…

  10. Grid Node Server vs. NuGet Restore

    [quote=GlobalConcepts;17335] Indeed searching for "JetBrains.Annotations.xml" will find more resulst since I have many older projects on my disc having a "package" folder itself since they use package.config. But I really hope that this is not the problem. Except that directories and some installa…

  11. RdiConfigured key in config

    [quote=MatthewSteeples;17332]Thanks for that. I haven't thought this through thoroughly, but it may make more sense for these to be user-level config values rather than shared ones by default. Main reason I'm suggesting that is you end up with a case where RDI is enabled for a project (by someone el…

  12. Grid Node Server vs. NuGet Restore

    Ok, progress! We've managed to identify two problems here. 1. Something is going wrong in the build system when the Nuget package directory is redirected to the snapshots directory (which happens when running under the local system account). I'm not sure what the deep cause for this issue is …

  13. RdiConfigured key in config

    This key is used to control the RDI wizard that pops up for any solution that hasn't had RDI specifically enabled/disabled before. If you remove it, you'll get the wizard showing again. Somewhere we needed to store this flag and the cache file didn't seem appropriate, given that it is configuratio…

  14. Grid Node Server vs. NuGet Restore

    Thanks for the sample solution. This doesn't produce the problem on my end (tried with 3 grid servers) but I have a theory I'd like to test. It looks to me like your grid node service is running is running under the local system account. This is why it's placing the Nuget packages underneath …

  15. NCrunch doesn't handle MSTest cases annotated with ExpectedExceptionBaseAttribute derivations

    Hi, thanks for sharing this issue. Unfortunately, we aren't able to support custom test metadata types under MSTest. This is due to the design of MSTest itself where they've made it very difficult for 3rd party software (like NCrunch) to implement custom behaviour around MSTest types like this o…

  16. MSTest DataRow using Enum value doesn't work when parameter type is integer

    [quote=VNicholson;17321] Changing it to "UseStaticAnalysis" does also fix the problem for these tests so it seems peculiar to "UseDynamicAnalysis" being enabled.[/quote] Thanks. Usually it's the other way around for these sorts of tests. I'll take a look at see if I can improve on this.

  17. MSTest DataRow using Enum value doesn't work when parameter type is integer

    Thanks for sharing this issue. Could you confirm how you have your 'Framework Utilisation Type for MSTest' configuration value set? And whether changing it has any affect on the problem?

  18. Grid Node Server vs. NuGet Restore

    Ok thanks. We need to try and narrow down which element of the toolset is causing the packages to be resolved differently here. Do you have a small sample project that you are able to bring into alignment with the failing projects until it can fail in the same way? Or is the problem too inconsi…

  19. Grid Node Server vs. NuGet Restore

    Ok, we've now confirmed that the paths are being redirected correctly. This means that the issue is inside the build system on the grid node. Likely, this is being caused by a platform feature. Most suspect here is the central package management .. perhaps that is introducing alternative resolu…

  20. Grid Node Server vs. NuGet Restore

    Can you check the workspaces directory on the grid node? The snapshot directory on the node likely won't have these files, as we actually write them to disk when we build the workspace and execute MSBuild.