{"action":"created","issue":{"url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/91","labels_url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/91/comments","events_url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/91/events","html_url":"https://github.com/paypal/PayPal-NET-SDK/issues/91","id":68917507,"number":91,"title":"converting samples to vb.net","user":{"login":"gidmeister","id":3792305,"avatar_url":"https://avatars.githubusercontent.com/u/3792305?v=3","gravatar_id":"","url":"https://api.github.com/users/gidmeister","html_url":"https://github.com/gidmeister","followers_url":"https://api.github.com/users/gidmeister/followers","following_url":"https://api.github.com/users/gidmeister/following{/other_user}","gists_url":"https://api.github.com/users/gidmeister/gists{/gist_id}","starred_url":"https://api.github.com/users/gidmeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gidmeister/subscriptions","organizations_url":"https://api.github.com/users/gidmeister/orgs","repos_url":"https://api.github.com/users/gidmeister/repos","events_url":"https://api.github.com/users/gidmeister/events{/privacy}","received_events_url":"https://api.github.com/users/gidmeister/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/labels/question","name":"question","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-16T12:53:35Z","updated_at":"2015-04-20T16:09:26Z","closed_at":null,"body":"I tried to convert the batch payout sample to vb.net, and I get 2 errors.\r\nThose are:\r\n1)\r\nValue of type 'PayPal.APIContext' cannot be converted to 'PayPal.Api.APIContext'.\r\n2)\r\n'Public Sub AddNewRequest(title As String, [requestObject As PayPal.Api.IPayPalSerializableObject = Nothing], [description As String = \"\"])' is declared in project 'App_SubCode_CSCode.frmz3wkl.dll', which is not referenced by project '6_zOwner_CreatePayout.aspx'. Add a reference to 'App_SubCode_CSCode.frmz3wkl.dll' to your project '6_zOwner_CreatePayout.aspx'.\r\n\r\nIs there any help you can give on this?  Why would there be two types of APIContext?  Also, since I did use Nuget to add the paypal net sdk to my project, why would I get the second error (which says that I have to add a reference).  The line that prompted the second error was:\r\n  Me.flow.AddNewRequest(\"Create payout\", payout)\r\nand the line that prompted the first error was:\r\n Dim createdPayout = payout.Create(apiContext, False)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/comments/94495725","html_url":"https://github.com/paypal/PayPal-NET-SDK/issues/91#issuecomment-94495725","issue_url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/91","id":94495725,"user":{"login":"jziaja","id":8227966,"avatar_url":"https://avatars.githubusercontent.com/u/8227966?v=3","gravatar_id":"","url":"https://api.github.com/users/jziaja","html_url":"https://github.com/jziaja","followers_url":"https://api.github.com/users/jziaja/followers","following_url":"https://api.github.com/users/jziaja/following{/other_user}","gists_url":"https://api.github.com/users/jziaja/gists{/gist_id}","starred_url":"https://api.github.com/users/jziaja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jziaja/subscriptions","organizations_url":"https://api.github.com/users/jziaja/orgs","repos_url":"https://api.github.com/users/jziaja/repos","events_url":"https://api.github.com/users/jziaja/events{/privacy}","received_events_url":"https://api.github.com/users/jziaja/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T16:09:26Z","updated_at":"2015-04-20T16:09:26Z","body":"Can you share the code here that creates the Payout?  By \"isn't working\" do you mean you're getting a compilation error or an error returned from the API?"}}