1

Does anyone know how to solve this? My antivirus (Norton), says that the project in the VS2019`s directory that I just created is an infected file and that is dangerous for my pc...

ChrisMM
  • 8,448
  • 13
  • 29
  • 48
  • What's your program trying to do? Also, Norton is garbage :P – ChrisMM May 13 '20 at 16:13
  • Windows Defender is very capable, and doesn't often get in the way, and can be configured to avoid scanning directories, such as your project directory, or avoid virus checking specific processes (such as devenv.exe and cl.exe). – Eljay May 13 '20 at 16:13
  • My program is a simple "Hello world" program that I just wrote in C++ –  May 13 '20 at 16:15
  • 2
    You can probably configure Norton to ignore that directory. Installing Linux to get around this would be excessive. The issue is in using Norton, not in using Windows. – ChrisMM May 13 '20 at 16:16
  • 2
    It's likely a false positive. One solution is to add your project directory to the antivirus' list of exceptions. – Blastfurnace May 13 '20 at 16:16
  • 1
    I recommend contacting the folks at Norton. If you do receive a worthy answer, consider posting it as a self-answered question. There are a lot of Q's on SO relating to antivirus software intruding on software development. – Thomas Matthews May 13 '20 at 16:16
  • 1
    This type of problem is not unique to Norton. See: [Running my C++ code gives me a blank console](https://stackoverflow.com/q/33690697/445976) – Blastfurnace May 13 '20 at 16:21
  • My advice is to exclude your whole development folder from the virus scanner. With that said be careful if you are a person who downloads compiled third party libraries / dlls. I nearly always build these myself from source from trusted sites. – drescherjm May 13 '20 at 16:24
  • Without knowing anything about your VS2019 project, it could be that Norton is right or it could be a false positive! Impossible to answer without any information about your project. – stackoverblown May 13 '20 at 18:34

0 Answers0