I added NotificationService to my project and upon build Windows Defender gave me a trojan alert.
As soon as I remove NotificationService from Startup.cs and MainLayout.razor the warning goes away.
What is going on here???
I added NotificationService to my project and upon build Windows Defender gave me a trojan alert.
As soon as I remove NotificationService from Startup.cs and MainLayout.razor the warning goes away.
What is going on here???
This is definitely false positive. I’ve never seen such problem before however I’ve found this:
I think its false positive as well. Does it happen for you too? There is no way I can put code in production that generates trojan alerts (even if false).
Works normally on my end.
I had a thought that Windows Defender must be a seeing a binary pattern that resembled with the trojan. I moved the declaration to a different spot in the file and the warning is gone.