Forum member

ClausAppel3Shape

10 posts

Posts by ClausAppel3Shape

  1. NCrunch does not seem to support editorconfig inheritance

    [quote=ClausAppel3Shape;14642][quote=Remco;14639]I'm not particularly familiar with the mechanics of these files or their purpose, but is it possible that the global editorconfig file simply needs to be present inside the NCrunch workspace? If so, try adding it to the 'Additional files to include' …

  2. NCrunch does not seem to support editorconfig inheritance

    [quote=ejball;14811]I solved this in NCrunch Configuration > General Settings > Build Settings > Custom build properties by adding RunAnalyzers = false. Remco, you may want to do this automatically (unless Allow code analysis is true, presumably). Documented here: https://docs.microsoft.com/en…

  3. NCrunch reports Xunit tests failed when using custom [Fact] attribute and custom IXunitTestCase

    [quote=Remco;14649]Hi, thanks for sharing this issue. For us to be able to parse the Xunit test model and make sense of the test results that come from it, we need to make certain assumptions about how the model is structured and the types that are involved. Intrinsically, it is impossible for u…

  4. NCrunch reports Xunit tests failed when using custom [Fact] attribute and custom IXunitTestCase

    In my C# project we use custom attributes as an alternative to Xunit's [Fact] and [Theory], and we use a a custom implementation of IXunitTestCase. This causes tests with these attributes to be marked as red by NCrunch with the message: [i]"This test was not executed during a planned execution run…

  5. NCrunch does not seem to support editorconfig inheritance

    [quote=Remco;14639]I'm not particularly familiar with the mechanics of these files or their purpose, but is it possible that the global editorconfig file simply needs to be present inside the NCrunch workspace? If so, try adding it to the 'Additional files to include' in your NCrunch solution-level…

  6. NCrunch does not seem to support editorconfig inheritance

    Hi! This is a follow-up to this thread from some months ago: https://forum.ncrunch.net/yaf_postst2873_Using-NCrunch--FxCop-Analyzers-and--warnings-as-errors---How-to-configure-warning-severity.aspx I have this setup: I am using FxCop Analyzers and <WarningsAsErrors/>. In my C# solution I have a g…

  7. NCrunch refuses to run when dependent project uses .NET Standard and a test library

    [quote=Remco;14557]Hi, thanks for sharing this issue. When NCrunch detects your netstandard project as referencing Xunit, it considers it a test project. The easy solution here would be to go into your NCrunch configuration for this project and disable the Xunit adapter for the project. This wi…

  8. NCrunch refuses to run when dependent project uses .NET Standard and a test library

    Hi! I had NCrunch running until recently. Then I deleted a bunch of local settings, and apparently I lost some NCrunch settings that were not checked into source control. Now NCrunch no longer runs in the given code base. I get a number of warnings like this: [quote]MSB3243: No way to res…

  9. Using NCrunch, FxCop Analyzers and “warnings as errors”: How to configure warning severity?

    [quote=Remco;14117]It's possible that NCrunch just isn't copying the .editorconfig file into the workspace used for building your project. Do you have this file included in your .csproj? If not, does including it make any difference?[/quote] Thanks for the advice! You're right. I had my .editorco…

  10. Using NCrunch, FxCop Analyzers and “warnings as errors”: How to configure warning severity?

    Hi! I have NCrunch 3.26.0.4. I have <WarningsAsErrors /> set in my CSPROJ files (new CSPROJ format). I want to use FxCop Analyzers as NuGet packages: https://docs.microsoft.com/en-gb/visualstudio/code-quality/install-fxcop-analyzers?view=vs-2019 When I first installed the FxCop Analyzers, my …