Forum member

UppSol

42 posts

Posts by UppSol

  1. MSTest v4 - DataRow - Collection Expressions

    Hi, I reported an issue via VS 2026. It seems that NCrunch does not support DataRow Tests with Collection Expressions, however the VS 2026 test runner and the R# test runner support it, so I think NCrunch should support this as well. We are using MsTest v4 and C# (.Net 10), the latest version …

  2. VBCSCompiler.exe hangs for several seconds/several minutes

    [quote=Remco;17704]Hi, thanks for sharing this issue. This is, categorically, a platform stability issue. VBCSCompiler is a shared process that gets used by all MSBuild runs on the machine to perform compilation as a service. As such, there's usually one instance of it that takes responsibility…

  3. VBCSCompiler.exe hangs for several seconds/several minutes

    Hi, We have encountered a very strange issue (it started a few months ago, maybe longer), somtimes the VBCSCompiler.exe hangs for several seconds and sometime it hangs for minutes (when compiling C# files, it happens in 4.7.2 and also in .net 8). After a lot of investigation together with MS (…

  4. .NET8 Support

    [quote=Marcello;16969]Hi Support, Currently, I'm using NCrunch v4.18.0.3. Does NCrunch already support .NET8? If not, any ETA for it?[/quote] It's working fine, I haven't got any problems. Br

  5. MSTest test assemblies using DynamicDataAttribute cannot be built/analyzed

    [quote=Remco;16712]Hi, thanks for sharing this issue. I believe your assessment is correct. They changed the internal field names and this has broken our integration. Hopefully, this should be simple to fix. I've noted this down to be addressed. For the time being, I recommend using an earl…

  6. Stuck at "ncrunch engine is initialising"

    [quote=Remco;16114]A workaround for this problem has been implemented in NCrunch v4.12, which is [url=https://www.ncrunch.net/download]now available for download[/url].[/quote] Great support, as always! Thank you very much 👍

  7. Stuck at "ncrunch engine is initialising"

    @Remco Now that 17.2 RTM(https://devblogs.microsoft.com/visualstudio/visual-studio-2022-17-2-is-now-available/) has been released, will NCrunch support the new/preview feature that caused trouble in the preview version? I haven't got time to check if it works or not. Br

  8. Directory.build.props - Add a link to certain projects fails

    [quote=Remco;16022]Hi, thanks for sharing this issue. NCrunch has some limitations in what it can handle in the Directory.build.props file. Notably, when it loads your project, it does so under a different project name (i.e. _nCrunchTemp_....). This means that certain MSBuild properties (such a…

  9. Directory.build.props - Add a link to certain projects fails

    Hi, Please have a look at the directory.build.props The problem is, that the first ItemGroup (Condition="'$(MSBuildProjectFile)'!='SolutionItems.csproj'">) [b]works [/b]as expected, [b]all project files have a link to AssemblyDefaults.cs and CustomDictionary.xml[/b]. The [b]second[/b] ItemG…

  10. MsTestv2 - TestMethod with DataRow - Empty Array - Causes compiler errors in NCrunch

    [quote=Remco;15717]Hi, thanks for sharing this problem. I've reproduced it exactly as described. The problem is in NCrunch's MSTest static analyser. It can't handle the Enum types. I'm going to take a closer look at this to see what kind of support can be provided. As the static analyser does…

  11. MsTestv2 - TestMethod with DataRow - Empty Array - Causes compiler errors in NCrunch

    Hi, I also submitted a bug report (Using VS 2022 RC), so hopefully you have enough information to reproduce this issue on your side: I want to test a method of a class that accepts a params enum array (params ScopeTypes[] scopeTypes). As soon as I add this line to my test([DataRow(new Scop…

  12. Visual studio preview 16.9.4 breakage

    [quote=Remco;15360][quote=michaelkroes;15359] I've been trying to reproduce this but no luck yet. Could any of you commit a small test project to github (or a zip file somewhere) that reproduces this for you? [/quote] You can submit small ZIPs with sample code through the [url=https://www.ncrun…

  13. Visual studio preview 16.9.4 breakage

    [quote=Remco;15317]Excellent :) We'll look at rolling in a proper fix for this when this build of VS gets closer to RTM.[/quote] Hi, any update on this? 16.9.0 RTM has been released yesterday. Br

  14. VS 2019 Enterprise 16.8 RTM - MS Fakes - Not Working

    [quote=Remco;15066]Thanks for sharing this. Can you confirm whether you've tried regenerating the derived files used by Fakes to see if this solves the issue? Often a big platform release can put them out of sync, giving obscure errors.[/quote] If cleaned the bin + obj folder and rebuilded the …

  15. The FrameworkReference 'Microsoft.WindowsDesktop.App.WPF' was not recognized

    [quote=Magbr;14837].net 4.8 builds fine with dotnet build. No errors as I can see from launching the testhost executables.[/quote] I had similar issues, have a look here, it may helps you: https://forum.ncrunch.net/yaf_postst3045_Visual-Studio-16-8-RTM---NCrunch-Error.aspx Br

  16. Visual Studio 16.8 RTM - NCrunch Error

    [quote=michaelkroes;15023]Thanks for reporting this to us. We're looking into it. [/quote] I've seen Remco tweeted a release is prepared that will work with .net 5, will this bug also covered by this fix? Br

  17. Visual Studio 16.8 RTM - NCrunch Error

    Btw we are using the latest NCrunch version (4.4.0.12)

  18. Empty Test .csproj fails to build

    [quote=Remco;14767][quote=upper;14766] Do you received the sample, took quite some time to upload and I don't know if submitting was ok, got no success or failure info. Br[/quote] Doesn't look like it came through :( I might be able to analyse it off the single source file if you want to…

  19. Empty Test .csproj fails to build

    [quote=Remco;14755][quote=UppSol;14752] I will try, are the code and dlls enough or do you need a whole sample (solution + csproj) that can be compiled.[/quote] Ideally, I'll need the whole project in a form that can be compiled. It might be possible to troubleshoot the problem using the DLL an…

  20. Empty Test .csproj fails to build

    [quote=Remco;14751][quote=UppSol;14748] No the PDB exception does not appear when I set the instrumentation mode to 'Legacy'. [/quote] Thanks for confirming this. This would be a compatibility hole in our new CIL system. Is there any chance you can submit this code sample? I can't seem to pr…