Search code examples
visual-studio-2010antivirus

How to increase Visual Studio performance by disabling antivirus in certain folders


Can I increase Visual Studio performance by disabling my antivirus in some folders? If so, which folders should I prevent it from scanning?


Solution

  • You can improve performance by disabling the real-time-protection on your output directories. Running with an active antivirus means that each time you start running / debugging your output programs they are scanned by the AV (this slows their start up time by ~15% ). You will see an improvements if you disable the AV for the project output directory (where it places the EXE's, Dll's).

    Also, if you run visual studio itself without an AV it may work a little faster (I don't think the difference will be noticeable). Data files (such as .sdf, .obj, etc.) are usually not scanned by the real time protection under the default settings. This depends on the antivirus you are using, and the settings.