NEW!
CSHTML5 has now become OpenSilver!

We are happy to announce that CSHTML5 has been significantly improved and rebranded to 'OpenSilver', which stands for 'Open-source reimplementation of Silverlight'. It is fully backward compatible and it can be downloaded from OpenSilver.net. Upgrading from CSHTML5 to OpenSilver is very easy.
Read the FAQ

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.