Folks, every copy of Visual Studio 2022 v17.2.x I have either on my work
PC, in a Windows 11 VM and on my laptop has developed a problem where Find
and Replace over a folder does not modify any files. In all cases if I run
a Find and Replace over a folder it will report in the footer "nnn
occurrence(s) replaced" but no files are changed. Note I do *not* check
"Keep modified files open" because I want the bulk change to happen without
interaction.

I have tried starting with /SafeMode and /ResetSettings. I've changed the
Find and Replace options. I've tried three different installations in
different machines. I've run as different accounts. I've inspected Options.
It all makes no difference. Procmon reports that all CreateFile API calls
during the Find and Replace are Generic Read (which explains why no files
are changed).

VS2015 in an old VM *does* work correctly.

Would anyone be kind enough to try the same thing in VS2022 and see if it
works or not? Just stick some txt files under a folder and Find and Replace
some known text in the files. It doesn't matter if a solution is open or
not, all that matters is that the "Look in" is a folder.

Thanks,
*Greg Keogh*

Reply via email to