MaxProtocolVersion and LinqPad
Hi all,
There are a couple of discussions on here but I can't find any solid help on this.
I am connecting to TFS (visual studio) online and can successfully use linqpad to return XML data. However, when I switch to returning Json data I get this error:
InvalidOperationException: UseJson is not supported when the MaxProtocolVersion is set to less than V3. This JSON format is only supported by OData v3 or a later version.
This happens when I run:
Builds.Take (100)
I have checked the properties of the odata connection and fiddled with adding a custom header for MaxProtocolVersion but nothing works.
Has any one got any tips for me?
thanks
Russ
There are a couple of discussions on here but I can't find any solid help on this.
I am connecting to TFS (visual studio) online and can successfully use linqpad to return XML data. However, when I switch to returning Json data I get this error:
InvalidOperationException: UseJson is not supported when the MaxProtocolVersion is set to less than V3. This JSON format is only supported by OData v3 or a later version.
This happens when I run:
Builds.Take (100)
I have checked the properties of the odata connection and fiddled with adding a custom header for MaxProtocolVersion but nothing works.
Has any one got any tips for me?
thanks
Russ