Feature Suggestions

Could nCrunch ignore "Single File iSense" pseudo projects

Started by willdean on 1,867 views

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.microsoft.com/cppblog/single-file-intellisense-and-other-ide-improvements-in-vs2015/

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

Thanks,

Will
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?
I've just slipped a speculative fix into a dev build that I hope might solve this, if you're willing to try it?

NCrunch_Console_5.12.0.7.msi
NCrunch_Console_5.12.0.7.zip
NCrunch_GridNodeServer_5.12.0.7.msi
NCrunch_GridNodeServer_5.12.0.7.zip
NCrunch_LicenseServer_5.12.0.7.zip
NCrunch_Rider_5.12.0.7.7z
NCrunch_Rider_5.12.0.7.zip
NCrunch_VS2010_5.12.0.7.msi
NCrunch_VS2010_5.12.0.7.zip
NCrunch_VS2012_5.12.0.7.msi
NCrunch_VS2012_5.12.0.7.zip
NCrunch_VS2013_5.12.0.7.msi
NCrunch_VS2013_5.12.0.7.zip
NCrunch_VS2015_5.12.0.7.msi
NCrunch_VS2015_5.12.0.7.msi.7z
NCrunch_VS2015_5.12.0.7.zip
NCrunch_VS2017_5.12.0.7.msi
NCrunch_VS2017_5.12.0.7.msi.7z
NCrunch_VS2017_5.12.0.7.zip
NCrunch_VS2019_5.12.0.7.msi
NCrunch_VS2019_5.12.0.7.msi.7z
NCrunch_VS2019_5.12.0.7.zip
NCrunch_VS2022_5.12.0.7.msi
NCrunch_VS2022_5.12.0.7.msi.7z
NCrunch_VS2022_5.12.0.7.zip
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...
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.
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.

Post a reply

Log in to reply.