Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Empty Test .csproj fails to build
[quote=upper;14775]Installing the build tells me that NCrunch needs a new license and I can't select 30 days evolution version, I told our accouting to buy/upgrade the license, I will report back as soon as we bought the license. br[/quote] I've added a 7 day evaluation license to your account o…
08 Jun 2020 07:03 UTC
-
Empty Test .csproj fails to build
Thanks for your patience with this issue. Would you be interested in trying the build below? It contains a targeted fix for the PDB related exception under optimised mode: [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.4.0.10.msi]NCrunch_Console_4.4.0.10.msi[/url] [url=h…
08 Jun 2020 06:38 UTC
-
Empty Test .csproj fails to build
Thanks! I have the files now. You can remove the link. I'll let you know when I have more information.
04 Jun 2020 13:19 UTC
-
Empty Test .csproj fails to build
Unfortunately, I haven't had any luck in reproducing the PDB exception using the sample you've provided. It seems that no matter what I do, the projects all build and instrument correctly. I wonder if there may be an environment difference (i.e. compiler version, something in the build system, e…
04 Jun 2020 00:09 UTC
-
Empty Test .csproj fails to build
Thanks! I have the file. You can remove it now. I'll let you know as soon as I've looked at it in detail.
03 Jun 2020 05:27 UTC
-
Empty Test .csproj fails to build
[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 try that?
02 Jun 2020 23:27 UTC
-
Tests that require TestIsolation in new AppDomain
Hi Lars, Is there any chance you could share the stack trace and a code sample?
02 Jun 2020 11:09 UTC
-
FrameworkReference Build Error on a netcoreapp2.1 Target Build
I think we had another attempt at resolving this after 4.4.0.7 ... could you try the build below to see if this does the trick? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.4.0.9.msi]NCrunch_Console_4.4.0.9.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NC…
30 May 2020 00:09 UTC
-
Empty Test .csproj fails to build
[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 and PDB, but there ma…
29 May 2020 00:19 UTC
-
Path too long error still prevents project from building
[quote=idarroch;14753] Note the article I linked contains a comment about 32bit apps needing to have a manifest entry to indicate support of long file names. Not sure if this is relevant, but I mention it as I think VS is still 32bit.[/quote] This is very interesting, thanks for letting me know.…
29 May 2020 00:15 UTC
-
Empty Test .csproj fails to build
[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 produce a project/PDB…
28 May 2020 12:12 UTC
-
MsTest V2: ITestDataSource ignored
[quote=roy844;14747]I also implemented the ITestDataSource and NCrunch version 4.3.0.13 is still not running these tests, is there any update on this?[/quote] Hi, we do have support for this now. Can you check that you have your 'Framework utilisation type for MSTest' NCrunch setting set to 'Dyn…
28 May 2020 12:08 UTC
-
Path too long error still prevents project from building
[quote=idarroch;14745] So now it appears that VS2019 properly supports the long paths, but NCrunch does not. Is it possible to have another look at this?[/quote] Do you have complete confirmation that VS can build your solution if you place it under a very deep level path with the registry setti…
28 May 2020 12:03 UTC
-
Empty Test .csproj fails to build
[quote=upper;14743] This exception started to occur after using the relative path, the exception I've posted before does no longer occur. Btw there is no pdb file in this path, is the pdb generated by Ncrunch?[/quote] The PDB file is output from your build system, it's then manipulated by NCr…
28 May 2020 00:00 UTC
-
Empty Test .csproj fails to build
[quote=UppSol;14741] Out of curiosity why is the absolute path an issue when the .csproj contains no files, but when files are available everything is working fine? We are using NCrunch and the CustomRules.dll (with an absolute path) for years now and I think I have never encountered this issue be…
27 May 2020 13:06 UTC
-
Empty Test .csproj fails to build
Hi, thanks for sharing this problem. This looks to be caused by an oversight in our parsing of the code analysis ruleset file. It looks like your ruleset has a dependency specified using an absolute path (i.e. 'C:\Dev\Vie\Shared\SolutionItems\') as opposed to a relative path. At the time this c…
27 May 2020 00:20 UTC
-
Project with Excel sheets not building in Ncrunch although it does in MSbuild
Hi, thanks for sharing this issue. My bet would be that you have an [url=https://www.ncrunch.net/documentation/troubleshooting_project-build-issues]implicit build dependency[/url] on something (probably the excel files) that NCrunch isn't copying to the workspace used to build your code. Could…
27 May 2020 00:10 UTC
-
Tests not marked as 'impacted' when static fields change
A static property would be very different in terms of coverage tracking and impact detection, because its value would be initialised and assigned when the property is called, instead of in the class static constructor. If you use a property, the coverage and impact detection hole is gone. Actually…
25 May 2020 04:07 UTC
-
Tests not marked as 'impacted' when static fields change
I'll take a closer look, but can't make promises. It would be tragic if the solution to this increased all instrumentation times by 20% or something. Could you perhaps use a property instead?
24 May 2020 23:40 UTC
-
Tests not marked as 'impacted' when static fields change
Hi Tim, Static initialisers are a difficult one to catch with NCrunch's code coverage tracking (and therefore impact detection). This is because of the manner in which the CLR executes them. Static fields are generally initialised the first time the containing class is accessed during runtime…
24 May 2020 13:04 UTC