Advanced
Support and Troubleshooting
Get help with common issues and learn how to get support for C# Dev Tools.
Common Issues
Section titled “Common Issues”Solution Explorer Not Showing
Section titled “Solution Explorer Not Showing”If the Solution Explorer doesn’t appear:
- Ensure you have a
.slnfile in your workspac e - Click the C# icon in the Activity Bar
- Try running the command “C# Solution Explorer: Open Solution Explorer” from the Command Palette
- Check that the extension is properly installed and enabled
Projects Not Loading
Section titled “Projects Not Loading”If projects aren’t appearing in the Solution Explorer:
- Ensure all projects are correctly referenced in the
.slnfile - Try clicking the refresh button in the Solution Explorer
- Check for any error messages in the Output panel (
Ctrl+Shift+U, select “C# Solution Explorer” from the dropdown) - Make sure the project files (.csproj) exist at the paths referenced in the solution file
Missing References or NuGet Packages
Section titled “Missing References or NuGet Packages”If references or packages aren’t showing:
- Try restoring packages by right-clicking the solution and selecting “Restore NuGet Packages”
- Check that you have internet access for package downloads
- Verify your NuGet package sources are correctly configured
- Check for any authentication issues with private NuGet sources
Code Analysis Features Not Working
Section titled “Code Analysis Features Not Working”If code analysis features (unused symbols, type hints) aren’t working:
- Make sure the C# language server is running (check the status bar)
- Verify the features are enabled in settings
- Try reloading the window with
Ctrl+Shift+Pand “Developer: Reload Window” - Check VS Code’s output panel for any errors from the C# extension
Performance Issues
Section titled “Performance Issues”If you experience slow performance:
- Try disabling unused symbol highlighting for very large files
- Reduce the scope of the Solution Explorer by closing unused projects
- Check if your solution has a large number of projects or references
- Increase VS Code’s memory limit in settings
Extension Logs
Section titled “Extension Logs”To access extension logs for troubleshooting:
- Open the Output panel with
Ctrl+Shift+U - Select “C# Solution Explorer” from the dropdown menu
- Review the logs for any error messages or warnings
For more detailed logging:
- Open VS Code settings
- Search for “csharp-dev-tools.logging”
- Change the log level to “Debug” or “Trace”
- Reload the window and reproduce the issue
Reporting Issues
Section titled “Reporting Issues”If you encounter a bug or have a feature request:
- Visit the GitHub repository
- Check if your issue has already been reported
- Click on “Issues” and then “New Issue”
- Select the appropriate template
- Fill in the required information, including:
- Clear description of the issue
- Steps to reproduce
- Expected vs. actual behavior
- VS Code version
- Extension version
- Operating system
- Relevant logs
Updating the Extension
Section titled “Updating the Extension”Keeping the extension updated can resolve many issues:
- Click the Extensions icon in the Activity Bar (
Ctrl+Shift+X) - Look for updates indicated next to the extension
- Click the update button if available
- Reload VS Code after updating
Resetting the Extension
Section titled “Resetting the Extension”If you experience persistent issues, try resetting the extension:
- Close VS Code
- Navigate to your VS Code extensions folder:
- Windows:
%USERPROFILE%\.vscode\extensions - macOS:
~/.vscode/extensions - Linux:
~/.vscode/extensions
- Windows:
- Locate and rename the C# Dev Tools folder (it will start with
your-publisher.csharp-dev-tools) - Restart VS Code and reinstall the extension
Getting Help
Section titled “Getting Help”For additional help:
- Check the documentation (this site)
- Look for community discussions on GitHub Discussions
- Ask questions on Stack Overflow with the tag
vscode-csharp-dev-tools - Join the community Discord or Slack channel (if available)
Providing Feedback
Section titled “Providing Feedback”Your feedback helps improve the extension:
- Rate and review the extension on the Visual Studio Marketplace
- Provide detailed feedback about what works well and what could be improved
- Contribute to the project on GitHub with pull requests or issue reports