❔ 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
Jimmacleβ€’8mo ago
can't tell you without seeing the program but false positives can happen
Will
Willβ€’8mo 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
Denisβ€’8mo 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 Userβ€’8mo ago
Message Not Public
Sign In & Join Server To View
πŸŸ₯🟧🟨🟩🟦πŸŸͺ
Console.WriteLine("Hello, World!"); Console.ReadLine(); AV name?
Denis
Denisβ€’8mo ago
It is Microsoft Defender πŸ€”
πŸŸ₯🟧🟨🟩🟦πŸŸͺ
it is smartscreen by windows defender, is this how it's supposed to be, or is there something I need to do?
Denis
Denisβ€’8mo ago
You might need to add Visual Studio, or your project folder to the windows defender exclusion list
Denis
Denisβ€’8mo 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
πŸŸ₯🟧🟨🟩🟦πŸŸͺ
Will it work for everyone or just my pc?
Denis
Denisβ€’8mo 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
Denis
Denisβ€’8mo ago
$close
MODiX
MODiXβ€’8mo ago
Use the /close command to mark a forum thread as answered
Unknown User
Unknown Userβ€’8mo ago
Message Not Public
Sign In & Join Server To View
Accord
Accordβ€’8mo 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.