Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Trend Antivirus Exclusion rules for NCrunch
Grendil
#1 Posted : Wednesday, August 15, 2018 2:01:42 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 3/18/2017(UTC)
Posts: 54
Location: United States of America

Thanks: 22 times
Was thanked: 11 time(s) in 10 post(s)
Our company recently adopted Trend for antivirus, and we're noticing a lot of performance issues on developer machines. Among other causes, we suspect that Trend and NCrunch aren't getting along well.

Can anyone recommend some good exclusion rules to help the antivirus leave NCrunch alone? With our prior antivirus software, we used something like ncrunch*.exe, but it sounds like Trend doesn't allow such a liberal policy.
Remco
#2 Posted : Wednesday, August 15, 2018 4:36:24 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Hi, thanks for posting.

Instead of trying to exclude processes by EXE name, it may work better if you restrict the scanning to exclude the directories where NCrunch does work. Try excluding the following:

The NCrunch installation dir (i.e. C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\Remco Software\NCrunch for Visual Studio 2017)
The NCrunch workspace base path
The NCrunch AppData directory (i.e. C:\Users\Remco\AppData\Local\NCrunch)

It's worth considering that the scanner may be attempting to scan ALL files that are touched by any code executed by NCrunch. This means that scan targets should also be restricted by areas of the file system that are touched by your tests, build system and production code. So database and resource directories should probably be excluded.

It's much harder for me to advise on which areas of your disk are used by the build system, as this is a very dynamic beast that behaves differently depending on the packages you're using, the precise version of VS you have installed and the platforms you're working with. Excluding the Visual Studio directory itself is probably not a bad idea, and it may be worth excluding your Nuget packages directory too. I've also witnessed build tasks doing quite a bit of processing in the Windows Temp directories, though excluding these might undermine some of the benefits of using the scanner.
1 user thanked Remco for this useful post.
Grendil on 8/15/2018(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.020 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download