API-NG-sample-code/cSharp/

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Paul_B
    Junior Member
    • Nov 2016
    • 1

    #1

    API-NG-sample-code/cSharp/

    Hi,
    I've tried to load up and compile the API-NG-sample-code/cSharp from https://github.com/betfair/API-NG-sa.../master/cSharp.

    However, I'm getting the following error which I can't resolve:
    The designer must create an instance of type 'System.Web.Services.Protocols.HttpWebClientProtoc ol' but it cannot because the type is declared as abstract.

    Has anyone come across this and managed to resolve it?

    Thanks
  • zeal
    Junior Member
    • Nov 2014
    • 20

    #2
    Not sure, but as I remember there was one error while I have tried compiling. "Set up as startup project" (or something like that) was the solution. It is in the visual studio menu somewhere. Or just google it.

    Comment

    • pepepere
      Junior Member
      • Nov 2013
      • 9

      #3
      Hi, this is the reason why you see that error.

      https://msdn.microsoft.com/en-us/lib...v=vs.100).aspx

      You don't really need to see anything in the designer, right click on the file RescriptClient.cs and click on view code or press F7.

      It is the actual class what you need in order to connect to the API.

      Comment

      Working...
      X