Check the documentation of Antivirus about file and folder exceptions: https://www.bing.com/search?q=mcafee+exclusions. Add your a.exe file or folder to the list of of exclusions.
By the way, you can also use Visual Studio for such programs.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
As i click on run code button of code runner extension of vsc
It create a .exe file which is deleted by mAcfee Antivirus
Check the documentation of Antivirus about file and folder exceptions: https://www.bing.com/search?q=mcafee+exclusions. Add your a.exe file or folder to the list of of exclusions.
By the way, you can also use Visual Studio for such programs.
McAfee consumer products do not support folder exclusions. Other than removing McAfee another option is to disable real-time scanning during your development activities. Regarding folder exclusions, refer to excluding folder