Forum member
kentcb
20 posts
Posts by kentcb
-
Package error
Understood, and I know exactly what you mean about churn. I've just about had enough myself. Thanks Remco.
29 Nov 2017 05:36 UTC
-
Package error
I installed manually and it's working for now. Still, would be good to know why this was required.
29 Nov 2017 03:51 UTC
-
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?
29 Nov 2017 03:46 UTC
-
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…
29 Nov 2017 03:31 UTC
-
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 :/
29 Nov 2017 03:29 UTC
-
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…
29 Nov 2017 02:57 UTC
-
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…
15 Apr 2017 12:15 UTC
-
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
15 Apr 2017 09:25 UTC
-
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) …
15 Apr 2017 08:32 UTC
-
netstandard issue
Not only does this work, it works exactly per my mental model before diving in. Really awesome stuff, Remco.
12 Apr 2017 02:01 UTC
-
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…
11 Apr 2017 10:16 UTC
-
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?…
08 Apr 2017 13:43 UTC
-
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 …
08 Apr 2017 08:11 UTC
-
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…
01 Feb 2017 02:31 UTC
-
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…
09 Dec 2016 00:36 UTC
-
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. …
08 Dec 2016 22:36 UTC
-
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…
11 Jul 2016 23:44 UTC
-
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…
15 Feb 2016 01:38 UTC
-
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 …
12 Feb 2016 03:22 UTC
-
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…
10 Feb 2016 03:01 UTC