Help Center - Personal Account
  • Home
  • Payments and Transfers
  • Disputes and Limitations
  • My Account
  • My Wallet
  • Login & Security
  • Seller Tools

Why did I get the error "A project with an output type of class library cannot be started directly" with the ASP.NET SDK?

This error occurred because the ASP.NET samples included with the PayPal SDK were built as a class library and not an ASP.NET web application. You can't run the sample in debug mode and through it as is. 

Create your own ASP.NET web application referencing paypal_base.dll if you want the ability to step through your solution in debug mode. 

More ways we can help

We’ll use cookies to improve and customize your experience if you continue to browse. Is it OK if we also use cookies to show you personalized ads? Learn more and manage your cookies