Skip to content

Fix the dash typo in lang flag of classlib in Unit testing Visual Basic page #46481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/core/testing/unit-testing-visual-basic-with-xunit.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The following instructions provide the steps to create the test solution. See [C
* Run the following command:

```dotnetcli
dotnet new classlib -o PrimeService --lang VB
dotnet new classlib -o PrimeService -lang VB
```

The [`dotnet new classlib`](../tools/dotnet-new.md) command creates a new class library project in the *PrimeService* folder. The new class library will contain the code to be tested.
Expand Down Expand Up @@ -72,7 +72,7 @@ The following instructions provide the steps to create the test solution. See [C
* Create the *PrimeService.Tests* project by running the following command:

```dotnetcli
dotnet new xunit -o PrimeService.Tests
dotnet new xunit -o PrimeService.Tests -lang VB
```

* The preceding command:
Expand Down Expand Up @@ -108,7 +108,7 @@ cd unit-testing-using-dotnet-test
dotnet new classlib -o PrimeService
ren .\PrimeService\Class1.vb PrimeService.vb
dotnet sln add ./PrimeService/PrimeService.vbproj
dotnet new xunit -o PrimeService.Tests
dotnet new xunit -o PrimeService.Tests -lang VB
dotnet add ./PrimeService.Tests/PrimeService.Tests.vbproj reference ./PrimeService/PrimeService.vbproj
dotnet sln add ./PrimeService.Tests/PrimeService.Tests.vbproj
```
Expand Down