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

Merge branch 'single-file-release' into 'master'

Change build to single file release

See merge request !30
parents 1c509130 bc1bf82d
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
> 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
......@@ -21,16 +21,18 @@ Using the .NET SDK command `dotnet` you can choose between building for executio
### 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:
```
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
......
......@@ -13,6 +13,7 @@
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PublishSingleFile>true</PublishSingleFile>
</PropertyGroup>
</Project>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment