Aide - Compte Particulier
  • Accueil
  • Paiements et transferts
  • Litiges et restrictions
  • Mon compte
  • Mon portefeuille
  • Connexion et sécurité
  • Outils pour les vendeurs

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

Issue
You got an error message - "A project with an output type of class library cannot be started directly."

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

Solution
Create your own ASP.NET web application referencing paypal_base.dll if you want the ability to step through your solution in debug mode. You can look to the code in PayPalAPI.cs to see how to use the SDK (paypal_base.dll) to make an API call.

Autres manières d'obtenir de l'aide

Si vous acceptez les cookies, nous les utiliserons pour améliorer votre expérience et permettre à nos partenaires de vous présenter des publicités PayPal personnalisées lorsque vous visitez d'autres sites. En savoir plus et gérer les cookies