I cannot figure out why this project builds and runs fine in visual studio but fails to build in ncrunch. Below are the only logs:
NCrunch: If you are experiencing problems in getting this project to build, have a look at http://www.ncrunch.net/documentation/troubleshooting_project-build-issues
Views\MainView.axaml.cs (9, 9): The name 'InitializeComponent' does not exist in the current context
Remco NCrunch Developer
#16855
07 Sep 2023 07:31 UTC
Hi, thanks for posting.
We haven't put in place any integration with Avalonia. My best guess would be that this is being caused by a malfunctioning build step or a file that isn't being picked up by NCrunch.
Could you try compatibility mode and let me know if this makes any difference for you?
We haven't put in place any integration with Avalonia. My best guess would be that this is being caused by a malfunctioning build step or a file that isn't being picked up by NCrunch.
Could you try compatibility mode and let me know if this makes any difference for you?
Unfortunately, the compatibility mode settings did not make any difference.
However, I did find that the root cause is that the .axaml files are not being copied to the ncrunch build folder. I manually added **.axaml files it works.
However, I did find that the root cause is that the .axaml files are not being copied to the ncrunch build folder. I manually added **.axaml files it works.
Post a reply
Log in to reply.