Troubleshooting
This article contains information and links on how to address potential issues.
Basic Setup
For basic setup, please see the abridged Common Tasks, or the more detailed Getting Started, with relevant linked articles.
Using Visual Studio
- Get started with Visual Studio
- Tutorial: Get started with a C# console app in Visual Studio.
- Make code work in Visual Studio
- Tutorial: Learn to debug using Visual Studio.
Debugging
Viewing the logging output and running a debugger are the main tools for troubleshooting when the application behaves unexpectedly, both during development, and when deployed to test and production servers.
See Debugging for details.
Runtime Issues
CultureNotFoundException
"Culture is not supported"
Application fails with CultureNotFoundException
"Culture is not supported" error.
This can happen when the .NET application sets or defaults to a current culture that
is not available. Check the "System.Environment" log event which outputs the application
CurrentCulture.
To fix the issue, install an appropriate culture on the system, and/or set the application to use a culture that is available.