The level of support for a language is defined as follows:
Versions 7 to 16 are fully supported.
ASP.NET MVC, ASP.NET Core MVC
Language-specific propertiesDiscover and update the VB.NET-specific properties in Administration > Configuration > General Settings > Languages > VB.NET
Analyze generated codeTo 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 settings > General Settings > Languages > VB.NET. By default, tool-generated code files are skipped from the analysis.
The detection of generated code is based on file name, special comments, and attributes. The currently recognized values are in GeneratedCodeRecognizer.cs .
When a Generated
comment is present in the file, SonarQube ignores the entire file, even if only parts of it were generated. It's possible to enable or disable analysis of files containing generated code at the instance or project level in General Settings > Languages > Your language > Analyze generated code.
To analyze VB.NET code, you need to use the SonarScanner for .NET version 4.x or newer.
ExclusionsFiles to be excluded should be set in the project configuration. Excluded files are still going to be analyzed during the compilation and the results will be filtered according to the exclusion settings.
As an alternative, an .editorconfig
file can be used to disable the analysis for a specific rule on a file or directory. This can solve performance problems on large files.
[Path/File.vb]
dotnet_diagnostic.Sxxx.severity = none
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.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4