Forum member

kentcb

20 posts

Posts by kentcb

  1. Package error

    Understood, and I know exactly what you mean about churn. I've just about had enough myself. Thanks Remco.

  2. Package error

    I installed manually and it's working for now. Still, would be good to know why this was required.

  3. Package error

    That stopped my stable VS from complaining about the extension, but re-installing NCrunch has not installed it into VS - only into VS Preview. How do I "target" the install to VS instead of VS Preview?

  4. Package error

    Fun fact: this is the first time I've updated NCrunch since installing VS Preview side-by-side with VS. I'm almost certain that will be the underlying cause, but shouldn't it just work? UPDATE: indeed, if I instead start VS Preview, NCrunch is installed there. It's failing to work for a completel…

  5. Package error

    I've tried: * uninstalling and installing the version that previously worked for me. Now it gives me the same error. * restarting my machine * clearing the component cache None of these has resolved the error. Even with NCrunch uninstalled, VS still throws up the error during startup :/

  6. Package error

    Hi, Having installed 3.12.0.15, NCrunch no longer works. VS shows this message upon startup: [quote]--------------------------- Microsoft Visual Studio --------------------------- The 'nCrunch.VSIntegration2010.CrunchPackage, nCrunch.VSIntegration2017, Version=3.11.0.9, Culture=neutral, Pub…

  7. Tests not running in signed assemblies/with security transparency

    Yep - here you go: [code=xml]<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>netstandard1.0</TargetFramework> <Version>1.0.0</Version> <GeneratePackageOnBuild>True</GeneratePackageOnBuild> <Authors>Kent Boogaart</Authors> <Company /> <PackageL…

  8. Tests not running in signed assemblies/with security transparency

    Sure thing. But can you clarify exactly what you want me to share? The csproj for the assembly under test? For the unit test project? Thanks

  9. Tests not running in signed assemblies/with security transparency

    Hi, I'm converting another of my projects over to the new world of improved csproj + netstandard, and am seeing this error with NCrunch 3.7.0.4: System.TypeInitializationException: The type initializer for 'KBCsv.CsvReader' threw an exception. at KBCsv.CsvReader.FromCsvString(String csv) …

  10. netstandard issue

    Not only does this work, it works exactly per my mental model before diving in. Really awesome stuff, Remco.

  11. netstandard issue

    Hi Remco, > If you have unit tests in a netstandard project that you want to run on multiple platforms, try multi-targeting the project. NCrunch will duplicate the tests between targets and all should be tidy. I just got around to trying this. So I'm multitargeting netstandard1.1 and net45. NC…

  12. netstandard issue

    Thanks for the reply, Remco. Hmmm, I completely understand the point about netstandard not being a platform. But the thing is, my unit test project was previously a PCL, which is also not a platform. However, NCrunch was still able to resolve to NETFX as the platform. Is this a behavioral change?…

  13. netstandard issue

    Hi, I've been playing around upgrading some of my projects from PCLs to netstandard, but have run into an issue when trying to use them (as source) within a wider solution: [code=plain]An error occurred while analysing this project after it was built: System.BadImageFormatException: Could not …

  14. Coverage not detected

    Hi, I'm running 3.3.0.6 in VS2015. I have a SUT that NCrunch is reporting as not fully covered. 2 out of 5 properties on the SUT are shown as covered, the other 3 uncovered. But I do have tests covering all properties and have verified those tests are running (and reset the execution engine to…

  15. Frequent focus loss

    Thanks for the tip, Remco. I investigated per your advice and found I had a test that was triggering a code path that invoked System.Diagnostics.Debugger.Break(). I should have noticed because the execution time of the test was > 5s, but somehow it escaped me. Anyway, by ensuring that it doesn't tri…

  16. Frequent focus loss

    Just wondering if anyone else is experiencing this since the v3 upgrade... I've found that I'll be typing away in VS, only for the focus to be moved elsewhere (I have no idea where because typing does nothing). If I wait a while, it will come back, or I can hit Escape and it returns immediately. …

  17. netstandard support

    Hi, I just installed a package (Humanizer) and found that NCrunch cannot build my project: [code=plain]DeviceDetailsViewModel.cs (9, 11): The type or namespace name 'Humanizer' could not be found (are you missing a using directive or an assembly reference?)[/code] Looking into it, I found i…

  18. Adjust alpha of pending tests?

    Hi, I find it hard to distinguish between tests that have completed (solid) and those that have not (semi-transparent). I've found the "General Settings" and it's fantastically flexible in setting up colours and what-not. However, I can't see a way to adjust the alpha for pending tests. Am I miss…

  19. Disable coverage without disabling test info

    Thanks for the helpful reply! As you can probably tell, I'm new to the product so take everything I say with a large grain of salt. I see what you mean about the extra information that comes about through having the coverage information. I guess I just feel like there are two separate streams …

  20. Disable coverage without disabling test info

    Is there a way to disable coverage information (circles) without disabling test info (>) ? I don't understand the value of having the coverage information enabled for a project containing only unit tests. Obviously any given test will be covered by itself (unless you're Doing It Wrong). And yet t…