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
This switch uses a runtime identifier (RID) to specify the target platform and ensures native dependencies are included (if required). For a list of runtime identifiers, see [Runtime Identifier (RID) catalog](../../rid-catalog.md).
This switch uses a runtime identifier (RID) to specify the target platform and ensures native dependencies are included (if required). For a list of runtime identifiers, see [Runtime Identifier (RID) catalog](../../rid-catalog.md).
This switch sets the build configuration to Release, which is optimized for production deployment.
116
-
117
-
-`-r <RID>`
118
-
119
-
This switch uses a runtime identifier (RID) to specify the target platform and ensures native dependencies are included. For a list of runtime identifiers, see [Runtime Identifier (RID) catalog](../rid-catalog.md).
This switch uses a runtime identifier (RID) to specify the target platform. For a list of runtime identifiers, see [Runtime Identifier (RID) catalog](../rid-catalog.md).
This switch uses a runtime identifier (RID) to specify the target platform. For a list of runtime identifiers, see [Runtime Identifier (RID) catalog](../rid-catalog.md).
249
+
-[!INCLUDE [cli-r-rid](includes/cli-r-rid.md)]
264
250
265
251
-`--self-contained true`
266
252
267
-
This switch tells the .NET SDK to create an executable as a self-contained deployment (SCD).
253
+
This switch tells the .NET SDK to create an executable as a self-contained deployment (SCD).
268
254
269
255
::: zone-end
270
256
@@ -310,17 +296,13 @@ For more information about single-file deployment, see [Single-file deployment](
This switch sets the build configuration to Release, which is optimized for production deployment.
316
-
317
-
-`-r <RID>`
318
-
319
-
This switch uses a runtime identifier (RID) to specify the target platform. For a list of runtime identifiers, see [Runtime Identifier (RID) catalog](../rid-catalog.md).
301
+
-[!INCLUDE [cli-r-rid](includes/cli-r-rid.md)]
320
302
321
303
-`-p:PublishSingleFile=true`
322
304
323
-
This property bundles all application-dependent files into a single binary.
305
+
This property bundles all application-dependent files into a single binary.
324
306
325
307
::: zone-end
326
308
@@ -365,17 +347,13 @@ For more information about Native AOT deployment, see [Native AOT deployment](na
This switch uses a runtime identifier (RID) to specify the target platform. For a list of runtime identifiers, see [Runtime Identifier (RID) catalog](../rid-catalog.md).
352
+
-[!INCLUDE [cli-r-rid](includes/cli-r-rid.md)]
375
353
376
354
-`-p:PublishAot=true`
377
355
378
-
This property enables Native AOT compilation, which compiles the app directly to native code.
356
+
This property enables Native AOT compilation, which compiles the app directly to native code.
379
357
380
358
::: zone-end
381
359
@@ -430,17 +408,13 @@ ReadyToRun binaries contain both intermediate language (IL) code and the native
This switch uses a runtime identifier (RID) to specify the target platform. For a list of runtime identifiers, see [Runtime Identifier (RID) catalog](../rid-catalog.md).
413
+
-[!INCLUDE [cli-r-rid](includes/cli-r-rid.md)]
440
414
441
415
-`-p:PublishReadyToRun=true`
442
416
443
-
This property enables ReadyToRun compilation, which improves startup performance by pre-compiling assemblies.
417
+
This property enables ReadyToRun compilation, which improves startup performance by pre-compiling assemblies.
0 commit comments