Missing step in 'Create the solution'
- Dominant language
- No language data
- Stars
- 4.8k
- Forks
- 6.1k
- Avg merge
- 15h 21m
- Merged PRs (30d)
- 370
Description
### Type of issue
Missing information
### Description
After running this command: dotnet new classlib -o PrimeService
It says the following:
"The dotnet new classlib command creates a new class library project in the PrimeService folder. The new class library will contain the code to be tested."
When I look in Powershell I see that the project library is added, but it is not visible in VS 2022 solution explorer.
The next step, **"Rename Class1.cs to PrimeService.cs."**, is then not possible to solve, because the proj library is not visible in solution explorer, so there is nothing to rename. What also means that I can not paste in the code snippet in the next step.
Now I looked at the page again and see that the missing step, I was looking for **"dotnet sln add ./PrimeService/PrimeService.csproj**" comes after **"Rename Class1.cs to PrimeService.cs."**.
Suggestion:
Move **"In the unit-testing-using-dotnet-test directory, run the following command to add the class library project to the solution:
dotnet sln add ./PrimeService/PrimeService.csproj"**, up before, **"Rename Class1.cs to PrimeService.cs."** so I comes in the correct order.
### Page URL
https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-with-dotnet-test
### Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/testing/unit-testing-with-dotnet-test.md
### Document Version Independent Id
422811cb-6287-03af-ba8d-1daebee9744d
### Article author
@ardalis
### Metadata
* ID: e39c2f1b-f41a-bdf9-2646-09379941453d
* Service: **dotnet-fundamentals**
Contributor guide
Assessment
This issue has not been assessed yet.