Skip to content

Commit 50d7990

Browse files
authored
Add installation information for DNX (#344)
2 parents 75c482f + 8cef76f commit 50d7990

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The `--help` or `sign --help` option provides more detail about each parameter.
3232

3333
AzureSignTool can be installed in a couple of ways.
3434

35-
### NuGet Tool
35+
### .NET Tool
3636

3737
You can install AzureSignTool from NuGet using
3838

@@ -43,6 +43,26 @@ AzureSignTool.exe
4343

4444
It is recommended to specify an exact version such as 7.0.0, or a latest major-minor, like 7.0.* so that major versions, which often include a breaking change, are not automatically picked up.
4545

46+
#### DNX
47+
48+
You can use `dnx` to run AzureSignTool from NuGet provided that the .NET 10 SDK is installed:
49+
50+
For example, to invoke the `sign` command:
51+
52+
```powershell
53+
dnx AzureSignTool --yes sign <arguments>
54+
```
55+
56+
Passing `--yes` will automatically confirm the installation of the AzureSignTool package. See `dnx --help` for more information about installing specific versions of AzureSignTool including pre-release versions of the package.
57+
58+
`dnx` is an alias for `dotnet dnx`. It's a simpler way to install and run a .NET tool.
59+
60+
`dnx` permits the use of `--` to explicitly separate the arguments to `dnx` and the tool itself. For example, `--version` is an argument that is understood by both dnx and AzureSignTool. To ensure `--version` is interpreted as an input to AzureSignTool, you can do:
61+
62+
```powershell
63+
dnx AzureSignTool --yes -- --version
64+
```
65+
4666
### Single-file Download
4767

4868
AzureSignTool provides self-contained executables on the GitHub release. For example, to download the v7.0.0 ARM64 installer:

0 commit comments

Comments
 (0)