Windows-Defender and Visual-C++ development: Exclude Executables/Processes xor data folders?

  • Thread starter Thread starter Martin Ba.
  • Start date Start date
M

Martin Ba.

Guest
Original Question at: https://stackoverflow.com/q/65423768/321013


It would appear to be "obvious" (1 2) that Antivirus Software on Windows put the spanner in the works of esp. C++ compilation -- what is much less obvious to me is what is needed to be excluded from Real-Time Scanning.

You get told from different resources on the Web, that you should exclude you project folders and your devenv.exe, cl.exe, node.exe ... what-have-you.


See: Improve performance speed by updating Defender settings


However, these instructions seem a bit contradictory to me, at least as far as directory excludes vs. process excludes go:


Q: If I tell my AV to not scan stuff used by process devenv.exe|cl.exe|..., then why on earth would I need to also exclude my, e.g. C:\mystuff\cpp-project\** project folders?


Q: Shouldn't a process exclusion of an AV product, that greps all relevant development tools be more than sufficient to speed up build times?


Q: Why would additional do-not-scan-directory exclusions be necessary? Are they necessary?

More...
 
Back
Top