Service Reference error upon creation

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Service Reference error upon creation



I'm currently having an issue with adding an OData service in a C# project. The service looks like this.



My step by step process looks like this:



STEP 1: Entering the OData URL



STEP 2: After hitting OK, the following error pops up.





STEP 3: Trying to update the service



----> Which results in following error.




I can't seem to figure out what causes these issues. If anyone has any suggestions, please let me know. It would be greatly appreciated!




1 Answer
1



Instead of using the service reference with UWP. I used Ajax calls to get the data. Some of them weren't allowed in a Unity build. This is why I used tags to exclude scripts like this:


#if (UNITY_EDITOR)
... your class/code ...
#endif



More information about this can be found by following this url.



https://support.unity3d.com/hc/en-us/articles/208456906-Excluding-Scripts-and-Assets-from-builds






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Makefile test if variable is not empty

Will Oldham

Visual Studio Code: How to configure includePath for better IntelliSense results