Hi.
As far as I know, self-developed software needs to be signed with a certificate to be trusted by Windows Defender.
For questions about obtaining certificate signatures, it is recommended to post a post in the Developer Network forum to consult relevant technical support.
Developer Network Forum: https://social.msdn.microsoft.com/forums/zh-cn/home
Troubleshoot problems with detecting and removing malware:
Hope the information is helpful.
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.