https://dlang.org/changelog/2.082.0.html#signed_windows_bina...
Many have reported the false positive, the browser is open source. Nothing has changed. So good luck with that.
Now, the separate tor browser component that's included, that's a different story. But the Brave browser itself is just fine.
Short summary: https://mspoweruser.com/microsoft-shares-ways-for-software-v...
The overwhelming desire to lock people into their walled garden is so blatant.
The first method to prevent a false positive is to ensure the software is digitally signed.
To someone looking to make money from malware, the cost of code signing is probably insignificant. To someone innocent and just wanting to share some software for free, it's not.
It shows that MS is clearly not interested in actually improving the detection accuracy of their AV much, but more interested in converting developers into a revenue stream.
https://www.microsoft.com/en-us/wdsi/filesubmission
...to ensure things like this get investigated.
For what it's worth, I just downloaded the latest D compiler distribution for Windows and scanned it with Windows Defender -- it didn't report any problems.