Forum member

stanac

14 posts

Posts by stanac

  1. IpcConnectionClosedException - JSON parsing exception occurred

    Thank you, this build is working without issues. No more JSON problem and xunit runner issue might have been a hiccup, but it's no longer present.

  2. IpcConnectionClosedException - JSON parsing exception occurred

    After rolling back to 5.16 issue is no longer present on one of the projects. On another I have [code] An error occurred while analysing this project after it was built: System.IO.FileNotFoundException: Could not load file or assembly 'xunit.runner.utility.netcoreapp10, Version=2.4.1.0, Culture=…

  3. IpcConnectionClosedException - JSON parsing exception occurred

    Yes, the problem is present for all solutions on this PC. 3 json files in the app data dir \tests\{project}\bin\debug\net9.0 have BOM "EF BB BF".

  4. IpcConnectionClosedException - JSON parsing exception occurred

    You are right, JSON looks correct. The thing is, this is happening only on one PC, on another one NCrunch is working. If it means anything it is working on desktop and failing on laptop, not sure if performance of the hardware plays any role. I have tried deleting local (as in dir where solution …

  5. IpcConnectionClosedException - JSON parsing exception occurred

    Getting following error message for all test projects in a solution. URL in the message does not mention IpcConnectionClosedException. [code] NCrunch 5.18.0.2, Visual Studio Community 2022 (64-bit) 17.14.14 xunit 2.9.3 xunit.runner.visualstudio 3.1.3 [/code] [code] An error occurred whi…

  6. NCrunch does not ignore xunit theory data source

    Thanks and sorry for late reply. Conditional compilation solved my issue.

  7. NCrunch does not ignore xunit theory data source

    I am using ncrunch 5.14.0.5, xUnit 2.9.3 and if it means anything xunit.runner.visualstudio 3.0.2. By ignore configuration I mean right clicking on code coverage circle in code editor and clicking on Ignore covering test.

  8. NCrunch does not ignore xunit theory data source

    Problem I'm having is that some of my tests are xUnit theory with data source of hundreds of cases. I am testing more or less all variations of configuration from production. Those variations are loaded from disk and theory itself is slow to execute even for a single case. Also loading from disk inv…

  9. New console window opens on every save operation in VS

    I will disable the project, thank you. I am not sure how to make reproducible code, if I mange to, I will post it on github.

  10. New console window opens on every save operation in VS

    Hi, thank you for quick response. Yes I was working on code related to an azure function. Here is function project info, if it helps. <PropertyGroup> <TargetFramework>netcoreapp3.1</TargetFramework> <AzureFunctionsVersion>v3</AzureFunctionsVersion> </PropertyGroup> Functio…

  11. New console window opens on every save operation in VS

    I'm not sure if this is the right place for this type of issue. I have upgraded today to NCrunch_VS2019_4.8.0.3, whenever I change some code in VS and save, new console window opens for a second, window has dotnet.exe path in title. After disabling ncrunch this is not happening on save.

  12. Problem with dotnet 5

    RC is better than previous release, it can run tests, however it fails when C#9 "init" is used with "System.InvalidProgramException: Common Language Runtime detected an invalid program." Problem is when a class is using init in property, nrunch reports error when calling constructor and setting t…

  13. Problem with dotnet 5

    Thanks for prompt response, great to hear it's being worked on

  14. Problem with dotnet 5

    [quote]An error occurred while analysing this project after it was built: System.BadImageFormatException: Could not load file or assembly 'file:///C:\Users\username\AppData\Local\NCrunch\15076\2\projectname.Tests\bin\Debug\net5.0\projectname.Tests.dll' or one of its dependencies. This assembly is bu…