Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions docs/building/netcoreapp3.1-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ ML.NET source code files build for .NET Core 3.1 and .NET Standard 2.0. However,

To run tests on .NET Core 3.1, you need to do a few manual steps.

1. Run `.\build.cmd -- /p:Configuration=Release-netcoreapp3_1` or `.\build.cmd -Release-netcoreapp3_1` from the root of the repo.
2. If you want to build the NuGet packages, `.\build.cmd -buildPackages` after step 1.
1. Run `.\build.cmd -configuration Debug-netcoreapp3_1` or `.\build.cmd -configuration Release-netcoreapp3_1` from the root of the repo.
2. If you want to build the NuGet packages, `.\build.cmd -pack` after step 1.

If you are using Visual Studio, you will need to do the following:

Expand Down
2 changes: 1 addition & 1 deletion docs/building/unix-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ On macOS a few components are needed which are not provided by a default develop
* libomp 7
* libgdiplus
* gettext
* All the requirements necessary to run .NET Core 3.1 applications. To view macOS prerequisites click [here](https://docs.microsoft.com/en-us/dotnet/core/macos-prerequisites?tabs=netcore30).
* All the requirements necessary to run .NET Core 3.1 applications. To view macOS prerequisites click [here](https://docs.microsoft.com/en-us/dotnet/core/install/macos?tabs=netcore31#dependencies).

One way of obtaining CMake and other required libraries is via [Homebrew](https://brew.sh):
```sh
Expand Down
6 changes: 3 additions & 3 deletions docs/building/windows-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ You can use the Developer Command Prompt, Powershell or work in any regular cmd.
From a (non-admin) Command Prompt window:

- `build.cmd` - builds the assemblies
- `build.cmd -runTests` - called after a normal "build.cmd" will run all tests
- `build.cmd -buildPackages` called after a normal “build.cmd” will create the NuGet packages with the assemblies in “bin"
- `build.cmd -test` - called after a normal "build.cmd" will run all tests
Comment thread
mstfbl marked this conversation as resolved.
Outdated
- `build.cmd -pack` called after a normal “build.cmd” will create the NuGet packages with the assemblies in `artifacts\packages`"
Comment thread
mstfbl marked this conversation as resolved.
Outdated

**Note**: Before working on individual projects or test projects you **must** run `build.cmd` from the root once before beginning that work. It is also a good idea to run `build.cmd` whenever you pull a large set of unknown changes into your branch.

Expand All @@ -69,7 +69,7 @@ After successfully building, run tests in the Visual Studio Test Explorer window

### Running tests from the command line

From the root, run `build.cmd` and then `build.cmd -runTests`.
From the root, run `build.cmd` and then `build.cmd -test`.
Comment thread
mstfbl marked this conversation as resolved.
Outdated
Comment thread
mstfbl marked this conversation as resolved.
Outdated
For more details, or to test an individual project, you can navigate to the test project directory and then use `dotnet test`

## Known Issues
Comment thread
mstfbl marked this conversation as resolved.
Expand Down