Troubleshooting

This section provides troubleshooting information for your Xamarin App development.

Problem

Resolution

Project does not compile after the scaffolding process

If the project does not compile after the scaffolding process, unload or reload project to ensure that the project items are successfully added to the project (especially on MAC).

Connectivity issues

Verify the following for connection issues:

  • Check capabilities that allow client or server communications

  • Emulators and devices need access to server hosting the WebAPI.

  • Do not use “localhost” for the Web API URL. Using “localhost” works only for UWP testing on the local machine.

Error while scaffolding

For the scaffolding process, you should build the common project successfully. If you try to scaffold before building the common project, you will receive an error.

REST API Client modules fail to generate

If the REST API Client modules fail to generate, verify if the AutoREST is installed globally on the machine.