dotnet / dotnet/docfx

VB .Net documentation creates code tags with lang-csharp style with the default template.

Open
#2,030 4 comments 2 reactions 0 assignees View on GitHub
template
Dominant language
C#
Stars
4.4k
Forks
890
Avg merge
2h 9m
Merged PRs (30d)
11

Description

**DocFX Version Used**:
2.23.1

**Template used**: (`default` or `statictoc` or contain custom template)
default

**Steps to Reproduce**:

1. Create a VB .NET project.
2. Add some source code with XML documentation.
3. Add DocFX
4. Compile.

**Expected Behavior**:
All code blocks should be created with class vbnet for .vb files.

**Actual Behavior**:
Only XML comments with example tags are generated with vbnet class. Syntax, constructors, methods and declaration are all with lang-csharp class, so the code shown is csharp, not VB.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.