Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.
Windows Defender detect my game as virus and delete it
I tried to export my game both as zip and as exe but a few seconds later windows defender automaticly deletes it.
This game is for a game jam and it deadline is 1 day later
I use the lastest Game maker studio 2 version
Then they have to fix it the same way you did. You can't change how Windows Defender analyzes files, and therefore can't do anything about it wrongly detecting your game as a virus.
In addition to signing, you technically could contact the vendor of the software to report a false positive. Whether they will take your request seriously or not is up to them, though.