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

Notification

Icon
Error

Could nCrunch ignore "Single File iSense" pseudo projects
willdean
#1 Posted : Monday, February 10, 2025 1:08:11 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 1/31/2012(UTC)
Posts: 32
Location: England

Thanks: 7 times
Was thanked: 4 time(s) in 4 post(s)
Hi - this is a very minor mostly cosmetic request, and I know C++-related stuff is out of scope anyway, but I might as well ask...

In some circumstance, not sure what, while working with Visual Studio and C++ projects, VS will somehow trick nCrunch into becoming interested in odd project files with names that look like this:

C:\Users\will\AppData\Roaming\Microsoft\VisualStudio\17.0_3cd056af\SingleFileISense\_sfi_0a28ca17-3fb5-4df4-83b2-39119968c6b6_.vcxproj

(Note that the directory location is absolutely nothing to do with the solution I'm working in)

NC cannot, reasonably enough, build these projects - all that happens is you end up with the project showing as a build failure at the bottom of the project list (very minor cosmetic annoyance) and, slightly more annoying cosmetic annoyance, the status text at the top of the NC window will then, forever more, show "1 project is failing to build" on a pink "warning" background - this prevents any other status information being shown.

Nobody seems to really know what these files are for - something to do with this: https://devblogs.microso...improvements-in-vs2015/

Could NC simply ignore projects with filenames that start _sfi_[guid]?

Thanks,

Will
Remco
#2 Posted : Monday, February 10, 2025 11:13:13 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 974 times
Was thanked: 1302 time(s) in 1207 post(s)
Hi Will,

Does turning on the 'Ignore this project completely' setting get rid of it? Or does the GUID just change and the problem comes back?
Remco
#3 Posted : Tuesday, February 11, 2025 7:49:36 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 974 times
Was thanked: 1302 time(s) in 1207 post(s)
willdean
#4 Posted : Thursday, February 13, 2025 4:33:18 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 1/31/2012(UTC)
Posts: 32
Location: England

Thanks: 7 times
Was thanked: 4 time(s) in 4 post(s)
Thanks! I'll give it a try. Much appreciated.

I have to warn you that you might also have reignited my desire to file a feature request around "Ignore Completely", which I use a lot and find very less convenient than I would like...
1 user thanked willdean for this useful post.
Remco on 2/13/2025(UTC)
willdean
#5 Posted : Tuesday, February 18, 2025 10:00:37 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 1/31/2012(UTC)
Posts: 32
Location: England

Thanks: 7 times
Was thanked: 4 time(s) in 4 post(s)
Hi Remco - sorry, 5.12.0.7 doesn't seem to have stopped these appearing. I am still not sure how permanently they are banished by an "ignore completely", either, though if I work this out I'll let you know.
Remco
#6 Posted : Tuesday, February 18, 2025 11:02:20 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 974 times
Was thanked: 1302 time(s) in 1207 post(s)
Sorry to hear that. The speculative fix I introduced simply ignores all projects with a .vcxproj extension starting with _sfi_.

There must be more to this then. I think I'll need a way to reproduce this behaviour if I'm to properly block these projects.
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.044 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download