4 ms·
Defender slows down build times significantly. You can set exclusions of course, but it does get tedious because every time you have a new project you need to
by tredre3 2y ago
Defender slows down build times significantly.
You can set exclusions of course, but it does get tedious because every time you have a new project you need to add exclusions for its folder and the toolchain. Then every time a toolchain is updated (eg .../gcc/11.5 changes to gcc/11.5.2 you have to enter the 20 new exe exclusions and of course windows won't let you mass delete the old ones so it's click->confirm->click->confirm x50).
I might not do it myself but I can see why someone would just say "enough is enough".
- felipelemos 2y agoHKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Exclusions\Paths
- andyayers 2y agoOr https://learn.microsoft.com/en-us/defender-endpoint/microsoft-defender-endpoint-antivirus-performance-mode https://learn.microsoft.com/en-us/defender-endpoint/microsof... (DevDrive + Defender's "performance mode")
- gtsteve 2y agoYou can use the powershell command Add-MPPreference -ExclusionPath[0] and ship a script with your app if you want. I do the same for Terraform providers - whenever a new version comes out, for a time the process can be randomly killed as I suppose a process that spawns a child process that starts talking to lots of endpoints looks somewhat suspicious. [0] https://learn.microsoft.com/en-us/powershell/module/defender/add-mppreference?view=windowsserver2022-ps https://learn.microsoft.com/en-us/powershell/module/defender...
- RockRobotRock 2y agoJetBrains does it for you with one click when you create a new project.
- com2kid 2y agoIn the old days at MSFT, developers had a separate HD for code and builds that was completely excluded from virus scanners. Sometimes a big blunt hammer does the trick!