title: Publish to AWS Lamba - Failed to find the "build-lambda-zip" utility
body: <p>I'm currently trying to publish my AWS lambda functions using Visual Studio 2019 community (v4.8.03752) and leveraging the AWS Toolkit for Visual Studio (v1.20.1.0). After right clicking my project and selecting 'Publish to AWS Lambda' I receive the following error:</p>
  <pre><code>- Zipping publish folder C:\Users\Matt\source\repos\programName\programName\.\bin\Release\netcoreapp3.1\publish to C:\Users\Matt\AppData\Local\Temp\HelloWorld-CodeUri-Or-ImageUri-637489827969959200.zip
  - Failed to find the &quot;build-lambda-zip&quot; utility. This program is required to maintain Linux file permissions in the zip archive.
  - Error packaging up project in C:\Users\Matt\source\repos\programName\programName\. for CloudFormation resource HelloWorld: Failed to find the &quot;build-lambda-zip&quot; utility. This program is required to maintain Linux file permissions in the zip archive.
  </code></pre>
  <p>I've been able to deploy this MANY times over previous months, up until Friday 2/12 when I started receiving this error (after a reboot). What's even more strange is that if I uninstall the AWS Toolkit for VS, then reinstall it, I'm able to publish successfully 1 time. With my 2nd attempt, I begin to receive this error again.</p>
  <p>Steps I've taken to attempt to resolve:</p>
  <ul>
  <li>Repair Visual Studio</li>
  <li>Uninstall/Reinstall Visual Studio</li>
  <li>Uninstall and reinstall amazon.lambda.tools using <code>dotnet tool install -g Amazon.Lambda.Tools</code></li>
  <li>Uninstall AWS Toolkit for VS, Reinstall toolkit. (This works for first deployment, fails when trying to deploy a 2nd time)</li>
  </ul>
  <p><strong>UPDATE:</strong></p>
  <p>Per some comments below, it looks like this is being caused by McAfee Real-Time Scanning. In checking the logs during a deployment I noticed a &quot;Virus or threat found&quot; record that points directly to the build-lambda-zip.exe file. To permanently avoid this issue moving forward please follow the steps provided by user2174794 in the comments below.</p>