Miscellaneous Visual Studio Build Errors

Problem: Visual Studio is failing to build Znode, and there are no code changes that cause breakage.

Possible Solutions:

  • Try building again. Sometimes this is enough to push through the failures.

  • Try a full clean/rebuild.

  • Try restarting Visual Studio.

  • Try restarting the computer entirely (sometimes Visual Studio and/or MSBuild can leave behind corrupted processes that need to be restarted).

Debugging and Custom Errors

Znode has custom error pages enabled by default. When in development or for general debugging purposes, it can be helpful to run the custom errors off. This will allow you to see better error descriptions, such a common .Net error like the Roslyn 'csc.exe' Error. The custom error pages are recommended to be enabled un UAT and Production environments.

To disable the custom error pages during development or in lower environments please change the following value in the Admin and/or Webstore web.config files

<customErrors mode="Off" defaultRedirect="~/ErrorPage">
    <error redirect="~/ErrorPage/PageNotFound" statusCode="404" /></customErrors>

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.