Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Support for C# source generators?

    [quote=mgrundner;15949]Seams the problem is back with https://github.com/nicodeslandes/SourceGenApp and 4.11.0.2 in VisualStudio 2022 Preview :([/quote] We've had some odd reports with the new VS2022 preview build lately. I think they still have a bit of stuff in the oven with it. I recommend h…

  2. VS2022 (17.1.0) Preview 2.0 appears to break Ncrunch

    [quote=NeilMacMullen;15937] However, I also have a much simpler solution with only two projects - that appears to load fine and Ncrunch works correctly so as you suggest this may be a downstream problem caused by VS changes to certain project types. [/quote] My suspicion here is that there is w…

  3. VS2022 (17.1.0) Preview 2.0 appears to break Ncrunch

    Thanks for sending this through. The log doesn't show any obvious erroneous behaviour, but there is a shortage of detected projects. Do you have a solution open in the IDE? Note that NCrunch doesn't work very well if it's just a project file open (make sure you have a .sln). I wonder if the …

  4. Build error for net6 blazor webassembly project

    [quote=wendellm;15933]with the same setup, updated to preview 2 .net 6, I am running into the same problem. Blazor wasm refusing to build. I want to try this above solution but I have no clue what this means? => NCrunch 'Custom build properties' setting to set the 'IsWasmProject' property to 'false…

  5. VS2022 (17.1.0) Preview 2.0 appears to break Ncrunch

    Hi, thanks for sharing this issue. NCrunch actually has no integration at all with VSTest or MSTest (we added all support for this using our own emulator). This means that the errors you're seeing here related to VSTest and in the Test Output Window (which we don't output to) most likely have no…

  6. 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…

  7. 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…

  8. 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…

  9. 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…

  10. 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…

  11. 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 …

  12. 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…

  13. 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…

  14. 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.

  15. 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 …

  16. 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.

  17. 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.

  18. 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…

  19. 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. 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…