Skip to content
Snippets Groups Projects
Commit bc1bf82d authored by Paul Nitzke's avatar Paul Nitzke
Browse files

Update README for new build procedure

parent 3e8f317c
No related branches found
No related tags found
1 merge request!30Change build to single file release
...@@ -12,7 +12,7 @@ Using the .NET SDK command `dotnet`: Execute `dotnet run --project ./src/SparseT ...@@ -12,7 +12,7 @@ Using the .NET SDK command `dotnet`: Execute `dotnet run --project ./src/SparseT
> Make sure you specify the `SparseTransform.CLI` project as the library project is not runnable by itself. > Make sure you specify the `SparseTransform.CLI` project as the library project is not runnable by itself.
## How to Build the Program ## How to Build the Program Into an Executable
> The instructions below assume that your working directory is at the project root > The instructions below assume that your working directory is at the project root
...@@ -21,16 +21,18 @@ Using the .NET SDK command `dotnet` you can choose between building for executio ...@@ -21,16 +21,18 @@ Using the .NET SDK command `dotnet` you can choose between building for executio
### Using .NET Framework: ### Using .NET Framework:
``` ```
dotnet build ./src/SparseTransform.CLI/SparseTransform.CLI.csproj --configuration Release dotnet publish ./src/SparseTransform.CLI/SparseTransform.CLI.csproj -r <RID> -o SparseTransform --self-contained false
``` ```
### As a Standalone Executable: ### As a Standalone Executable:
``` ```
dotnet build ./src/SparseTransform.CLI/SparseTransform.CLI.csproj --runtime <RID> --self-contained --configuration Release dotnet publish ./src/SparseTransform.CLI/SparseTransform.CLI.csproj -r <RID> -o SparseTransform
``` ```
\<RID> specifies the Runtime-ID that you want to build for. For available options see the [.NET RID Catalog](https://docs.microsoft.com/en-us/dotnet/core/rid-catalog) \<RID> specifies the Runtime-ID that you want to build for (e.g. win-x64 or linux-x64). For available options see the [.NET RID Catalog](https://docs.microsoft.com/en-us/dotnet/core/rid-catalog).
Both commands output to the SparseTransform directory at the project root. The output path can be changed as desired.
## How to Build the Documentation ## How to Build the Documentation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment