How do I avoid the "Post-Build Event Failed" error when building ASP.NET samples in VS.NET?

Issue
You received a Post-Build Event Failed error while building ASP.NET samples.

Cause
The file PostBuild.bat is missing from the samples folder.

Solution
Here's how to resolve this issue:

  1. Create an empty text file in the samples folder.
  2. Name the file PostBuild.bat.
  3. Rebuild the sample.


See also:
PayPal-NET-SDK
Creating and managing NVP/SOAP API credentials
PayPal NVP/SOAP API SDKs