0

I am trying to implement braintree in a windows phone 8.1 app and on

            Result<Customer> result = gateway.Customer.Create(request);

i get error

System.IO.FileNotFoundException occurred
      HResult=-2147024894
      Message=Could not load file or assembly 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
      Source=Braintree-2.41.0
      FileName=System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

I have included system.xml in every variation I could

full code at github

burblebee
  • 1
  • 2

1 Answers1

0

I work at Braintree. Your best bet is to get in touch with our support team.

The Braintree .Net library isn't for use on the phone but on the server. Putting it on the phone would allow the user to access your API keys, run transactions, etc.

While Braintree used to have a Windows Phone library it has been deprecated. Instead, you might be able to use a webview with JavaScript. I suggest you contact Braintree.

agf
  • 171,228
  • 44
  • 289
  • 238