Exe generated by Powershell Pro Tool is detected as a virus

We are currently using powershell pro tool version 5.7.2 with visual studio 2019.

When we compile the code and exe gets generated, cyclance antivirus deletes the exe file in next few seconds.

We have tried it with previous version of visual studio and powershell pro tool but no help.

To a surprise, when we compile a .net project cyclance antivirus doesn’t delete the exe file.

How we can avoid it to be detected as a malware.

Can you share what packaging settings you are using? I wonder if obfuscation might cause this or if it’s something else with our package. I can also try to reach out to Cyclance to see if they can provide some insight.

We are currently using the below settings:

Please let me know if you require any further information.

Hi Adam, Please let me know if you need any further info. We are in middle of some project and this issue looks like a showstopper. It would be great if you can provide some solution for the same.

I’ve opened a support request with Cylance and waiting to hear back on a resolution.