Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

NCrunch & Claude Code on WSL
9swampy
#1 Posted : Saturday, October 18, 2025 10:19:27 PM(UTC)
Rank: Member

Groups: Registered
Joined: 8/8/2016(UTC)
Posts: 14
Location: United Kingdom

Is there a best practices guide on combining Visual Studio 2022 & NCrunch with Claude Code running in WSL.

Is this a supported setup?

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.
Remco
#2 Posted : Saturday, October 18, 2025 11:01:29 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,403

Thanks: 1003 times
Was thanked: 1346 time(s) in 1249 post(s)
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.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.023 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download