Common issues and solutions

Build errors:

If you get an error that says "The 'AssemblyAttributesGenerator' task was not given a value for the required parameter 'OutputRootPath'" or "BeforeXamlProcessor (pass1) failed: System.IO.FileNotFoundException", please close and relaunch Visual Studio, and try again. Alternatively, killing all the running 'msbuild.exe' processes (via the Task Manager) can fix the issue too.

 

Debugging issues:

If you encounter any issues during debug, please refer to the page "Tips for Debugging".

 

JavaScript errors:

If your application runs fine in the Simulator but not in the browser, you can check if there are any JavaScript errors.

To view the JavaScript errors, open the browser Developer Tools (Press F12 or Ctrl+Shift+I) and go to the Console tab.

Here is a list of common JavaScript errors that you may encounter:

  • No 'Access-Control-Allow-Origin' header is present on the requested resource
    Solution: either ensure that the client and the server are on the same domain, or add support for CORS on the server to enable cross-domain calls. To do so, follow this tutorial.

 

Related Topics

 

Contact Us

Please click here for contact information.