Cubi73
Cubi73

Reputation: 1951

Kaspersky deletes my project executable

I have a C# project in Visual Studio 2015 called "Assembler". Its code looks like this:

using System;
public static class Assembler.Program {
    public static void Main () {  }
}

There are some other (unused) classes, but their purpose is to store and manage byte-level data types. There is no system call in my whole code and my project has no resources.

When starting Assembler.exe as Windows application (by setting it under project properties->Application->Output type), the executable gets marked as Trojan and is deleted instantly. However, when starting it as console application or simply renaming the output assembly to AssemblerTest.exe for example, the executable starts, runs and terminates normally.

Is there a way to tell Kaspersky to not delete my project executable Assembler.exe? I also tried to add my executable to the exceptions, but it gets deleted anyways. Kaspersky's help says, I have to add it to "trusted applications", but I can't add it to trusted applications, because when trying to select the executable with Kaspersky's OpenFileDialog, it says this file is currently used by another process, even when Visual Studio is closed. Adding Visual Studio to trusted applications (with all program controlling activities deactivated) didn't help at all.

I could simply rename my project, but it would be great to not have to rename the project only because Kaspersky thinks I create Trojans.

Some version information: OS: Windows 7 Home Premium 64-bit Kaspersky 15.0.0.463(b) Visual Studio 2013

Upvotes: 2

Views: 4690

Answers (2)

Гена
Гена

Reputation: 134

create *.ico and setup icon for your project. this may help you.

Upvotes: 0

Mike
Mike

Reputation: 14584

Try to follow this guide http://support.kaspersky.com/11146#block2 and add your project folder into exclusion list of Kaspersky's AV/IS. In order to minimize the side effects of exclusion list using (e.g. a malware theoretically can be stored in the exclusion area and Kaspersky will skip it), select the check boxes for the components to which the exclusion rule will be applied.

Upvotes: 1

Related Questions