'My antivirus software shuts down my own code that I wrote [duplicate]
I have a problem, where I try running my code (that I wrote) in Visual Studio. There are no initial errors, and I know for a fact, that the code is correct (if I try running it on other machines/online c++ compilers, it works), however, upon building an error pops up:
Severity Code Description Project File Line Suppression State Error LNK1104 cannot open file 'C:\Users\path\filename\x64\Debug\filename.exe' filename C:\Users\path\filename\LINK 1
I have changed the path and the name of the file the above example, to avoid confusion.
When I try building and running the code, my antivirus software pops up and warns me about some kind of a "malicious attempt". If I disable my antivirus, restart Visual Studio, and then try to build and run, it usually works.
I was wondering what could cause this issue, and how I could fix it? The issue occurs to many files, not just one, and NOT FRESH FILES (if I just created a file, wrote the code in one sitting, done the debugging and testing, all in one programming session, I have no problems).
P.S: There is no point in me pasting the code here, as I can definitely confirm that the issue does not reside within the code. P.P.S: I am using BitDefender antivirus software (fully paid, licensed), I don't think there is a problem with the software itself.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
