9swampy;18417 wrote:Is there a best practices guide on combining Visual Studio 2022 & NCrunch with Claude Code running in WSL.
Sorry, it's hard for me to give advice on this as I'm not familiar with this particular toolset.
9swampy;18417 wrote:
Is this a supported setup?
Not specifically, but this doesn't necessarily mean that it can't be made to work. No code exists in NCrunch to integrate with this toolset, but personally I wouldn't expect AI based toolsets to clash with NCrunch unless they are doing something odd.
9swampy;18417 wrote:
File change detection seems to be problematic and Nugets keep "disappearing" - requires a manual "reset and reload this component" sometimes several times just to get a build.
Synchronisation with the project.assets.json file (and its derivatives) has always been slightly unreliable in NCrunch because of the way that VS refreshes them asynchronously after projects have loaded. There is a lot of logic to try and identify situations where this file changes and force the reload, but there still seems to be inconsistent edge cases in VS where the tracking needs a kick to reload itself. Normally this isn't a problem because projects.assets.json rarely changes during a session.
If you're seeing this, it means that something on your system is triggering constant project restore steps to be run. That's not something you want, as it causes a lot of stuff to move around which can cause intermittent downstream issues. It may be worth examining why this keeps happening to see if there's something you can do to prevent it from happening. I can't imagine your list of installed packages needs to change every few seconds.