You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: release-notes/10.0/preview/preview6/sdk.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ This release brings several major improvements to the .NET SDK experience, espec
21
21
22
22
.NET tools can now be published with support for multiple RuntimeIdentifiers (RIDs) in a single package. Tool authors can bundle binaries for all supported platforms, and the .NET CLI will select the correct one at install or run time. This makes cross-platform tool authoring and distribution much easier.
23
23
24
-
The [baronfel/multi-rid-tool](https://github.com/baronfel/multi-rid-tool) repository demonstrates this feature with the `toolsay` tool. The README shows several packaging variations:
24
+
The [baronfel/multi-rid-tool](https://github.com/baronfel/multi-rid-tool) repository demonstrates this feature with the `dotnetsay` tool. The README shows several packaging variations:
25
25
26
26
-**Framework-dependent, platform-agnostic** (classic mode, runs anywhere with .NET 10 installed)
27
27
-**Framework-dependent, platform-specific** (smaller, optimized for each platform)
@@ -46,8 +46,8 @@ You can now use the `dotnet tool exec` command to execute a .NET tool without in
Tool package dotnetsay@1.0.0 will be downloaded from source<source>.
51
51
Proceed? [y/n] (y): y
52
52
_ _ _ _ __ __ _ _ _
53
53
|||| ___ |||| ___ \ \ / / ___ _ __ || __||||
@@ -57,7 +57,7 @@ Proceed? [y/n] (y): y
57
57
|/
58
58
```
59
59
60
-
This downloads and runs the specified tool package all in one go. By default, users will be prompted to confirm the download of the tool if it doesn't already exist locally. The latest version of the chosen tool package is used unless an explicit is chosen - for example `dotnet tool exectoolsay@0.1.0`.
60
+
This downloads and runs the specified tool package all in one go. By default, users will be prompted to confirm the download of the tool if it doesn't already exist locally. The latest version of the chosen tool package is used unless an explicit is chosen - for example `dotnet tool execdotnetsay@0.1.0`.
61
61
62
62
One-shot tool execution works seamlessly with local tool manifests as well. If you run a tool from a location containing a `.config/dotnet-tools.json` nearby, the version of the tool in that config will be used instead of the latest version available.
63
63
@@ -66,8 +66,8 @@ One-shot tool execution works seamlessly with local tool manifests as well. If y
66
66
Typing `dotnet tool exec` all the time is annoying, so we also added a new `dnx` script to further streamline tool execution. It basically just exists to make using tools as easy as possible - it just forwards all of your arguments along to the `dotnet` CLI forfurther processing. The actual implementation of the `dnx` command isin the `dotnet` CLI itself, so we can evolve its behavior over time. Today it runs tools, but who knows what the future may hold.
67
67
68
68
```bash
69
-
dnx toolsay"Hello, World!"
70
-
Tool package toolsay@1.0.0 will be downloaded from source<source>.
69
+
dnx dotnetsay"Hello, World!"
70
+
Tool package dotnetsay@1.0.0 will be downloaded from source<source>.
0 commit comments