C
C#14mo 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
Jimmacle14mo ago
can't tell you without seeing the program but false positives can happen
Will
Will14mo 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
Denis14mo 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 User14mo ago
Message Not Public
Sign In & Join Server To View
BOB
BOBOP14mo ago
No description
BOB
BOBOP14mo ago
Console.WriteLine("Hello, World!"); Console.ReadLine(); AV name?
Denis
Denis14mo ago
It is Microsoft Defender 🤔
BOB
BOBOP14mo ago
it is smartscreen by windows defender, is this how it's supposed to be, or is there something I need to do?
Denis
Denis14mo ago
You might need to add Visual Studio, or your project folder to the windows defender exclusion list
Denis
Denis14mo 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
BOBOP14mo ago
Will it work for everyone or just my pc?
Denis
Denis14mo 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
BOBOP14mo ago
Okay, thank you.
Denis
Denis14mo ago
$close
MODiX
MODiX14mo ago
Use the /close command to mark a forum thread as answered
Unknown User
Unknown User14mo ago
Message Not Public
Sign In & Join Server To View
Accord
Accord14mo 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.
Want results from more Discord servers?
Add your server