Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Build error for net6 blazor webassembly project
[quote=MaxRonin;15929] that did the trick, thank you! Out of curiosity: why "false"? From the name of the property you'd think it oughta be true? [/quote] The issue is caused by build steps inside the webassembly package that don't like NCrunch's workspacing. By setting this property to 'False…
10 Jan 2022 22:00 UTC
-
Build error for net6 blazor webassembly project
Hi Max, Thanks for sharing this issue. I'll need a sample solution that can reproduce this issue to provide more detailed troubleshooting (unfortunately just pointing at the WebAssembly package doesn't seem to be enough to produce the issue), but I've had a look through the package source and th…
08 Jan 2022 23:54 UTC
-
InvalidOperationException with init properties (.net6)
Thanks for sharing this. I guess this attribute must have some kind of impact on the behaviour of the JIT. Do you have any information about the preview feature workaround you had in place? I'm trying to establish if this is an issue other users might also be experiencing. From the docs, it look…
04 Jan 2022 22:40 UTC
-
Grid Node & .NET 6.0.1
[quote=Andrei;15921] I've quit investigation to get that running - it does not work with my setup. Maybe it will if you optimize the recognition of the .Net 6 Sdk ;) Thanks for your tries. [/quote] Sorry to hear this. Keep an eye out for the next build, as we have some work planned in this are…
04 Jan 2022 12:26 UTC
-
Unable to install (msi and zip) for Visual Studio 2022
Hi, thanks for posting. If you make any modification to the 'Common7\IDE\Extensions\extensions.configurationchanged' file (just to reset its lastchanged status on the file system), this should trigger VS to reload its extensions and avoid needing to run devenv.exe /setup. Make sure the IDE is cl…
03 Jan 2022 23:34 UTC
-
Grid Node & .NET 6.0.1
[quote=Andrei;15913] For me it's no option to install the whole VS 2022 Enterprise package on the build server. So maybe there are more configuration options to tell the grid node what paths to use? [/quote] The installation path NCrunch is unable to find is that of the Dotnet SDK, namely, the …
28 Dec 2021 11:52 UTC
-
Grid Node & .NET 6.0.1
Hi Andrei, This message can be shown if the grid node is unable to find the installation path of .NET. There's been a few people posting about these issues with grid nodes. It seems that the way we've been using to find the Dotnet install path is not reliable, so probably we'll need to implem…
27 Dec 2021 12:22 UTC
-
Not initializing due to exception
[quote=divverencebart;15906] $(AssemblyName) doesn't even work for `dotnet build` itself - seems that that is resolved to 'empty' so it's 'dotnet restore'ing into the same folder for all projects Any other suggestions? [/quote] I'm reduced to guesswork here, but what if you set the AssemblyName…
22 Dec 2021 22:53 UTC
-
Cannot get ncrunch working on Windows 11, VS2022
[quote=aledmorris2;15904]Got it working now. The 'Enable NCrunch' button became enabled after the solution was rebuilt. [/quote] That was unexpected. Maybe VS2022 can be late with the solution opening message. Good to hear you are up and running. We'll keep an eye out for this one.
21 Dec 2021 11:43 UTC
-
Experiences/Advice about setting up an Azure VM as grid node
Hi MR, Thanks for posting. Personally, my experience with the Azure platform itself is quite limited and not very up to date, so I'm going to limit my advice to the software side in the hope that someone else may be able to give some insight into their experiences in hosting NCrunch on Azure (I …
20 Dec 2021 23:07 UTC
-
Cannot get ncrunch working on Windows 11, VS2022
Thanks for sending through the bug report. The report indicates that VS appears to be initialising NCrunch successfully and no issues are reported. Do you have a solution open? NCrunch won't allow you to enable without one.
20 Dec 2021 22:51 UTC
-
Cannot get ncrunch working on Windows 11, VS2022
Is the 'Submit bug report' option in the NCrunch menu available to you, and if it is, could you try using it? Hopefully there is a log in the report we can use.
20 Dec 2021 10:21 UTC
-
Performance Issues
[quote=DHirani;15892]Thank you for the above information which does resolve the issue. Just one question I have is when you switch InstrumentOutputAssembly to false then I lose all the code coverage which sort of defeats the object of using NCrunch for me, is there any plans to improve the performan…
20 Dec 2021 09:07 UTC
-
Cannot get ncrunch working on Windows 11, VS2022
Hi, thanks for posting. My best guess here is that VS has decided not to load the package (it has a history of doing this at odd times, we've never been able to work out why). Have you tried the [url=https://www.ncrunch.net/documentation/troubleshooting_installation-and-setup-problems]removal …
20 Dec 2021 03:23 UTC
-
Teamcity integration Object reference not set to an instance of an object at nCrunch.Compiler.DotNet
[quote=GurdipS;15886]Hi, The package does exist. It's under system32/config, as TeamCity agent runs under local system. Is NCrunch expecting these packages in a certain path?[/quote] These packages will need to be in one of the package paths specified in the obj\*.nuget.g.props while which is…
16 Dec 2021 09:43 UTC
-
Teamcity integration Object reference not set to an instance of an object at nCrunch.Compiler.DotNet
Do you have the build server configured to perform a restore step before running NCrunch? I suspect this package may not exist in the restore paths prior to the NCrunch console tool being invoked. When trying to find the installation of Dotnet, NCrunch will first check the DOTNET_MSBUILD_SDK_RES…
16 Dec 2021 03:12 UTC
-
Teamcity integration Object reference not set to an instance of an object at nCrunch.Compiler.DotNet
Thanks! Can you confirm if you have the dotnet.exe file in your system PATH environment variable?
15 Dec 2021 23:38 UTC
-
VSTest playlist
[quote=GurdipS;15875] This may be for TeamCity (my build server), but how can I fail a build if code coverage is below a metric?[/quote] We don't have any feature inside NCrunch that can fail the build based on code coverage percentages, but the console tool does output a range of reports and XM…
15 Dec 2021 23:32 UTC
-
Teamcity integration Object reference not set to an instance of an object at nCrunch.Compiler.DotNet
Hi, thanks for posting. Can you confirm if you have any version of the .NET Core (or .NET5/6) SDK installed on this machine?
15 Dec 2021 23:28 UTC
-
VSTest playlist
Hi, thanks for posting. Sorry, we don't support vstest playlists. You might want to look at using [url=https://www.ncrunch.net/documentation/concepts_test-categories]test categories[/url] and [url=https://www.ncrunch.net/documentation/concepts_engine-modes]custom engine modes[/url] instead.
14 Dec 2021 23:35 UTC