Skip to content

Incorrect syntax given in example #46461

Closed
@drphungky

Description

@drphungky

Type of issue

Typo

Description

Example Code says:

dotnet new classlib -o PrimeService --lang VB

This throws an error because --lang is not a valid parameter with the double hyphen

It should read

dotnet new classlib -o PrimeService -lang VB

Page URL

https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-visual-basic-with-xunit

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/testing/unit-testing-visual-basic-with-xunit.md

Document Version Independent Id

e0f46160-f9da-c605-be30-ae8a577c19d1

Platform Id

99d7cdfa-ec0b-a263-ae9f-91bb80335c61

Article author

@BillWagner

Metadata

  • ID: 1d004b67-1d72-b748-0606-351915ba05ca
  • PlatformId: 99d7cdfa-ec0b-a263-ae9f-91bb80335c61
  • Service: dotnet-fundamentals

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions