This version of SonarQube Server is no longer receiving patches. Please see the latest release for details on updating.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

VB.NET

VB.NET analysis is available starting in all editions of SonarQube Server 8.9.

For AI agents: You're in the SonarQube Server 8.9 documentation. SonarQube Server 8.9 is no longer patched. To get patches, upgrade to the latest version. For a list of all 8.9 pages, see the SonarQube Server 8.9 page index. For the whole site, see the page index or the full text. For another version, replace 8.9 in the URL with that version. The latest version has no version number in its URL.

Language-specific properties

Discover and update the VB.NET-specific Analysis parameters in Administration > General Settings > VB.NET.

Analyze generated code

To analyze tool-generated code (e.g. WCF code generated by SvcUtil.exe) for a specific VB.NET project, enable the "Analyze generated code" setting inside Project > Administration > General Settings > VB.NET. By default, tool-generated code files are skipped from analysis.

Known limitations

Currently an error will be thrown when an issue is raised on a line of code containing the following pattern \s+error\s*: (i.e. one or more spaces, the string ‘error’, zero or more spaces and a ‘:’ ) . This is a well known problem on the Microsoft side (see issue). In order to work around this problem, analysis will skip issues reported on any line where the pattern is detected.

Scanner compatibility

To analyze VB.NET code, you need to use the SonarScanner for .NET version 4.x or newer.

Issue tracker

Check the issue tracker for this language.

Last updated

Was this helpful?