C
C#2y ago
BOB

❔ EXE application

why when I compile EXE applications using C# visual studio, if it is the simplest program, then the antivirus of the Windows virus scolds this program.
18 Replies
Jimmacle
Jimmacle2y ago
can't tell you without seeing the program but false positives can happen
Will
Will2y ago
i remember Malwarebytes really hated/hates simple c# applications there was a complaint made about it and the devs basically said nuh-uh
Denis
Denis2y ago
Avast antivirus is also a pain in the ass when developing. I suggest ditching it, and using.what windows offers (if you are on Windows). It is good enough.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
BOB
BOBOP2y ago
No description
BOB
BOBOP2y ago
Console.WriteLine("Hello, World!"); Console.ReadLine(); AV name?
Denis
Denis2y ago
It is Microsoft Defender 🤔
BOB
BOBOP2y ago
it is smartscreen by windows defender, is this how it's supposed to be, or is there something I need to do?
Denis
Denis2y ago
You might need to add Visual Studio, or your project folder to the windows defender exclusion list
Denis
Denis2y ago
I've found this script: https://gist.github.com/Braytiner/be2497d1a06f5a9d943dc7760693d460 Be cautios when running scripts from the web
Gist
Adds Windows Defender exclusions for Visual Studio 2022
Adds Windows Defender exclusions for Visual Studio 2022 - Windows Defender Exclusions VS 2022.ps1
BOB
BOBOP2y ago
Will it work for everyone or just my pc?
Denis
Denis2y ago
Only you for sharing software and getting rid of the smart screen you need to get a software certificate, which can be quite expensive
BOB
BOBOP2y ago
Okay, thank you.
Denis
Denis2y ago
$close
MODiX
MODiX2y ago
Use the /close command to mark a forum thread as answered
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?