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
> Omitting the version number after the package name currently only works when you use central package management with a `Directory.Packages.props` file. Otherwise, specify the version number explicitly, or add `@*` after the package name to use the latest version.
38
+
35
39
### `#:project`
36
40
37
41
References another project file or directory that contains a project file.
@@ -90,12 +94,6 @@ Pass arguments to your application by placing them after `--`:
90
94
dotnet run file.cs -- arg1 arg2
91
95
```
92
96
93
-
Without `--`, arguments go to the `dotnet run` command:
94
-
95
-
```dotnetcli
96
-
dotnet run file.cs arg1 arg2
97
-
```
98
-
99
97
#### Pipe code from stdin
100
98
101
99
Pipe C# code directly to `dotnet run` by using standard input with the `-` argument. The `-` argument indicates that `dotnet run` reads the code from standard input instead of a file. With the `-` argument, `dotnet run` doesn't search the current working directory for other files, such as launch profiles. The current directory is still the working directory to build and run the program.
@@ -188,15 +186,12 @@ By default, restore runs implicitly when you build or run your application. Howe
188
186
189
187
File-based apps automatically include specific file types for compilation and packaging.
190
188
191
-
By default, the following items are included:
192
-
193
-
- The single C# file itself.
194
-
- ResX resource files in the same directory.
189
+
By default, the single C# file is included.
195
190
196
191
Different SDKs include other file types:
197
192
198
193
-`Microsoft.NET.Sdk.Web` includes `*.json` configuration files.
199
-
-Other specialized SDKs might include other patterns.
194
+
-Non-default SDKs include ResX resource files.
200
195
201
196
## Native AOT publishing
202
197
@@ -373,12 +368,6 @@ Caching improves build performance but can cause confusion when:
373
368
dotnet clean file-based-apps
374
369
```
375
370
376
-
- Run a full build by using the `--no-cache` flag:
0 commit comments